I want to sort float numbers in descending order with the corresponding string. For e.g.
Mass=[10,45.5,56.7,34.7,12,8.2,56,78.5,5.5,21.5]
Name=['A1','A2','A3','A4','A5','A6','A7','A8','A9','A10']
Now I want to arrange mass in descending order so that it will give me
A8=78.5, A3=56.7, A7=56.....
How can I do it in python?
Many thanks
Cheers,
-Viral