How to sort a dictionary having keys as a string of numbers in Python,"sortedlist = [(k, a[k]) for k in sorted(a)]"