def __init__(self, options, selected):
self.options = options<EOL>if selected in options:<EOL><INDENT>self._selected = selected<EOL>self.asc = True<EOL><DEDENT>elif selected and selected[<NUM_LIT:0>] == '<STR_LIT:->' and selected[<NUM_LIT:1>:] in options:<EOL><INDENT>self._selected = selected[<NUM_LIT:1>:]<EOL>self.asc = False<EOL><DEDENT>else:<EOL><INDENT>self._selected = None<EOL>self.asc = None<EOL><DEDENT>
Initialize ordering with possible options the selected option.

        :param options: List of column options.
        :param selected: Selected column. Prefix name with ``-`` to denote
            descending ordering.