intent: Finding The Biggest Key In A Python Dictionary
rewritten_intent: get a list of keys of dictionary `things` sorted by the value of nested dictionary key 'weight'
snippet: sorted(list(things.keys()), key=lambda x: things[x]['weight'], reverse=True)