I\'m working with a list of dict objects that looks like this (the order of the objects differs):
list
dict
[ {\'name\': \'Foo\', \'score
I think I can come up with an one-liner here:
result = dict((x['name'],x) for x in sorted(data,key=lambda x: x['score'])).values()