![](https://secure.gravatar.com/avatar/bf0ee222dbef43f7743772df65fa8ac8.jpg?s=120&d=mm&r=g)
Oct. 15, 2008
10:05 p.m.
It seems like a lot of people are missing the idea that you *only* need < (or >, <=, >=, with slightly different variations) for total ordering on two objects of the same class, so here it is: x < y x > y -> y < x x <= y --> not y < x x >= y --> not x < y x == y --> not x < y and not y < x x != y --> x < y or y < x At least, that's what I got from the original post, Brandon