I think suggestion of @uboness is more readable that the extra if-statement and indents. I'll change it to that one for a complete implementation of the comparator contract.

Thnx