This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Lists and Matrices / Structure Manipulation /


FilledSmallSquare Order[, ] gives 1 if is before in canonical order, and -1 if is after in canonical order. It gives 0 if is identical to .

FilledSmallSquare Examples: Order[a, b] LongRightArrow; Order[b, a] LongRightArrow.

FilledSmallSquare Order uses canonical order as described in the notes for Sort.

FilledSmallSquare See Section 2.2.10.

FilledSmallSquare See also: Equal, SameQ, Sort.

FilledSmallSquare New in Version 1.

Further Examples