I have a list something like below- Xlist -
[('00:04:F2:FF:7A:1D' -88), ('4C:49:E3:64:9D:D6' -63),
('00:EC:0A:87:61:F8' -58), ('CC:9F:7A:99:0D:EA' -80)]
I need the list to be sorted in following way- YList-
[('4C:49:E3:64:9D:D6' -63), ('00:EC:0A:87:61:F8' -58),
('CC:9F:7A:99:0D:EA' -80), ('00:04:F2:FF:7A:1D' -88)]
I am a beginner in python. How to copy the elements in the above format?