Suppose my data frame is like:
   A             B           Date
[1,3,2]    ['a','b','c']     date1
I want to sort both the columns but with reference to each other. Like the output should be:
   A             B           Date
[1,2,3]    ['a','c','b']     date1
Now if these had been two lists only I would have sorted through zip method.
But as these are columns of data frame. I am not sure how to use apply method to sort these with reference to each other.
My dataframe as a whole is sorted on the basis of third column (date). Now for each such dates the other two columns have list, each having same number of values. I want to sort those lists on the basis of each other