Type that implements a partial or total order over type T.
T
Returns the relative order if this and that. Returns -1 if this orders before that; returns 1 if this orders after that; returns 0 if this and that are equivalent; and returns NaN if this is not comparable to that.
this
that
-1
1
0
NaN
Type that implements a partial or total order over type
T
.