Can't Get What You Want

If you can’t get what you want, is it OK to lie to get what you need? A reader we’re calling River cares deeply about her grandson who left public high school during his junior year. He then attended ...

I'm developing a new RESTful webservice for our application. When doing a GET on certain entities, clients can request the contents of the entity. If they want to add some parameters (for example s...

Can't Get What You Want 2

YourTango: The ‘Black Coffee’ Rule That Helps You Get Exactly What You Want In Life

Can't Get What You Want 3

The ‘Black Coffee’ Rule That Helps You Get Exactly What You Want In Life

YourTango: Emotionally Intelligent People Usually Say These 11 Phrases To Get You To Do Exactly What They Want

Emotionally Intelligent People Usually Say These 11 Phrases To Get You To Do Exactly What They Want

MSN: How to Get What You Want Without Asking for It - Chanakya Niti

Can't Get What You Want 7

How to Get What You Want Without Asking for It - Chanakya Niti

MSN: The Right Thing: Is it OK to lie if it would help you get what you want?

The Right Thing: Is it OK to lie if it would help you get what you want?

Bustle: This TikTok-Viral Mantra Is A “Cheat Code” To Get What You Want

This TikTok-Viral Mantra Is A “Cheat Code” To Get What You Want

Add Yahoo as a preferred source to see more of our stories on Google. More and more people want to become famous online. Content creators explain it's not as easy as it looks. (Getty Images) (We Are ...

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. 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 ...