def __init__(self, iterable, column, desc):
        "Initializes sorting adapter with given data."
        self.__iter = iterable
        self.__column = column
        self.__direction = desc
Initializes sorting adapter with given data.
recipes/Python/577825_Rudimentary_Database_Engine/recipe-577825.py