As you have found, get just gets the value corresponding to a given key. sorted will iterate through the iterable it's passed. In this case that iterable is a dict, and iterating through a dict just iterates through its keys.

Understanding the Context

If you want to sort based on the values instead, you need to transform the keys to their corresponding values, and of course the obvious way to do this is with get. To ... Finally, an important consideration when using GET for AJAX requests is that some browsers - IE in particular - will cache the results of a GET request. So if you, for example, poll using the same GET request you will always get back the same results, even if the data you are querying is being updated server-side.

Key Insights

SlimeVR has launched its next crowdfunding campaign, this time looking to get backers excited about its next-gen ‘Butterfly’ body trackers, which promise to be thinner, lighter, and offer a ...