My question is that I want to sort the elements of a dictionary alphabetically and I do not know how to do it.
My dictionary gives me:
_init 4
other 6
hello 8
hello 12
And I want you to give me:
_init 4
hello 8
hello 12
other 6
Thanks!