'D.__iter__() <==> iter(D) <==> D.iterkeys() -> an iterator over
sorted keys (add reverse=True for reverse ordering).'

def __iter__(self, reverse=False):

    if reverse:
        return reversed(self._sorted_keys)
    else:
        return iter(self._sorted_keys)
