Sorting Lists of Dictionaries
Frequently you want to sort a list of dictionaries, based on some particular key.
For example:
There are many ways to do this. Here's the fastest way to do it, as it avoids using a custom comparison function, instead using builtin comparisons. This is the decorate-sort-undecorate (DSU) pattern, or the Schwartzian transform if you're coming from Perl.
Questions
What does the dict_ underscore do? -- LionKimbro