class documentation

class SortableDict(dict): (source)

View In Hierarchy

Dictionary with additional sorting methods Tip: use key starting with with '_' for sorting before small letters and with '~' for sorting after small letters.

Method sortedkeys Return sorted list of keys
Method sortedvalues Return list of values sorted by keys
def sortedkeys(self): (source)

Return sorted list of keys

def sortedvalues(self): (source)

Return list of values sorted by keys