I think source auto-formatting has mangled the diff: I will resubmit.  The comparison operator is already there in the develop branch, the change is only equals and hashCode.

I think the author did that as to be able to call "sort" only the list and the inside market ends up at the top.