Dictionarily

Wrapper class around Python dictionaries adding custom sorting routines.

Methods

def add(key, value)

Inserts a key-value entry into dictionary content.

def sort() / sort_numbers_first()

Sorts dictionary entries alphabetically or prioritizing numeric keys first.

def show() -> dict

Returns the internal dictionary content.