Fix: "AttributeError: 'dict_items' object has no attribute 'sort'"
Happens on pip install with Python 3.
Merge pull request #249 from lvella/master

Fix: "AttributeError: 'dict_items' object has no attribute 'sort'"