I'm learning Python and I have a few questions about Dictionaries and sorting them by a value other than the key.
Lets say, for example, I have a Dictionary full of data that needs to be sorted on the 3rd value instead of the key. How would I go about doing this? I have tried just the .sort() and that just sorts by the key.
Data = [('1023', ['Name', '3.1', 'SomeData']), ('1000', )
how would I sort "Data" by the value where 3.1 is?
Please forgive my lack of correct terminology if I am missing some somewhere! Any help would be greatly appreciated.