A python dictionaruy implementation with sortable output