Suppose I got to list X, Y of integers both size N. the vector Y,
corresponding to the X , (the xi label is yi)
Now I want to sort X and then sort Y in same order
if I done it in java I would override the sort method, but i am kind of new in python...
any nice method to do so?
 
     
    