Hello,
If say I have 5 variables: v1=3 v2=1 v3=7 v4=6 v5=5
and two lists made from these
L1=[v1, v2, v3, v4, v5] , L2= [3, 1, 7, 6, 5]
and I sort on L2, so that I have, L2=L2.sort()=[1, 3, 5, 6, 7]
Is there a way to sort L1 so it is sorted in the same order as L2
i.e L1=[v2, v1, v5, v4, v3]
Thank you.