def __init__(self, key=None, order=None, **kwargs):
self._key = None<EOL>self.key = key<EOL>self._order = None<EOL>self.order = order<EOL>
Constructor.

:param key: String with the key that will be sorted on.
:param order: The order to use. Either ASCENDING or DESCENDING.