def __lt__(self, other):
if not isinstance(other, self.__class__):<EOL><INDENT>return self.__class__.__name__ < other.__class__.__name__<EOL><DEDENT>return self._get__cmp__data() < other._get__cmp__data()<EOL>
.. code-block:: python

   if not isinstance( other, self.__class__ ):
       return self.__class__.__name__ < other.__class__.__name__
   return self._get__cmp__data() < other._get__cmp__data()