How to Sort Python Dictionaries by Key or Value

http://www.pythoncentral.io/how-to-sort-python-dictionaries-by-key-or-value/