PySortedDict Sorted dictionary, based on C++'s std::map and support all comparison-enabled types in Python 3. Wasn't tested with Python 2, maybe works.