gives 1 if expr1 is before expr2 in canonical order, and -1 if expr1 is after expr2 in canonical order. It gives 0 if expr1 is identical to expr2.
Examplesopen allclose all
Basic Examples (1)
Possible Issues (1)
Order operates structurally, not by numerical value:
Introduced in 1988