'Replaces the normal dict.__repr__ with a version that returns the keys
in their sorted order.'

def __repr__(self):

    return ('{%s}' % ',    '.join([('%r:    %r' % (k, v)) for (k, v) in self.items()]))
