(Mar-16-2017, 01:03 PM)Ofnuts Wrote: Make a reverse dictionary and sort the keys.
Not a good idea - values may not be unique thus loosing some key-value pairs from original dict. OrderdDict docs (examples and recepies section) offers an example, but given we are in homework section it's not clear if use of OrderedDict is allowed