Updated
Let's say I have:
dic={"z":"zv", "a":"av"}
## why doesn't the following return a sorted list of keys?
keys=dic.keys().sort()
I know I could do the following and have the proper result:
dic={"z":"zv", "a":"av"}
keys=dic.keys()
skeys=keys.sort() ### skeys will be None
Why doesn't the first example work?