human
Sorting dictionary keys in python
assistant
Here is some code to create a list containing keys of dictionary `d` and sort it alphabetically

sorted(d, key=d.get)

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