Hi, I'm learning python and I'm having a bit of a problem sorting dictionaries. I'm getting dictionaries that look something like this:
{'usain': [2, 52], 'tyson': [1, 11], 'carl': [3, 110]}
which follows the format {'name': [score,time]}. I want to get a list of the names sorted by the highest scores (and if there's a tie the one who has a shorter time should come first). I'm not really sure how to go about this. Any suggestions?