def __iter__(self):
        "Iterates over internal data in the order requested."
        title, *rows = tuple(self.__iter)
        index = title.index(self.__column)
        yield title
        for row in sorted(rows, key=ROW[index], reverse=self.__direction):
            yield row
Iterates over internal data in the order requested.
recipes/Python/577825_Rudimentary_Database_Engine/recipe-577825.py