Human: Sorting a list of dicts by dict values Assistant: 
Here is some code to sort a list of dictionaries `a` by dictionary values in descending order

sorted(a, key=lambda i: list(i.values())[0], reverse=True)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.