I trying to print out a dictionary in Python:
Dictionary = {\"Forename\":\"Paul\",\"Surname\":\"Dinh\"} for Key,Value in Dictionary.iteritems(): print Key,
'but dictionaries in Python are sorted by values' maybe I'm mistaken here but what game you that ideea? Dictionaries are not sorted by anything.
You would have two solutions, either keep a list of keys additional to the dictionary, or use a different data structure like an array or arrays.