human
How do I sort a list of dictionaries by values of the dictionary in Python?
assistant
Here is some code to sort a list of dictionaries `list_to_be_sorted` by the value of the dictionary key `name`

newlist = sorted(list_to_be_sorted, key=lambda k: k['name'])

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