def __gt__(self, other):
if self.is_compatible(other):<EOL><INDENT>return not (self <= other)<EOL><DEDENT>else:<EOL><INDENT>return NotImplemented<EOL><DEDENT>
Greater than comparison for natural order sorting keys.