Order[, ] gives 1 if is before in canonical order, and -1 if is after in canonical order. It gives 0 if is identical to .
Examples: Order[a, b] ; Order[b, a] .
Order uses canonical order as described in the notes for Sort.
See Section 2.2.10.
See also: Equal, SameQ, Sort.
New in Version 1.