Mathematica 9 is now available

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

Order

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



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.