iterate over a dictionary in sorted order,"for k in sorted(foo.keys()):