print(sorted(dic2.items(), key=lambda x:x[0])) # can sort on values with x[1]