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

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

OrderedQ

FilledSmallSquare OrderedQ[h[, , ... ]] gives True if the are in canonical order, and False otherwise.

FilledSmallSquare See notes for Order.

FilledSmallSquare OrderedQ[e, e] gives True.

FilledSmallSquare By default, OrderedQ uses canonical order as described in the notes for Sort.

FilledSmallSquare OrderedQ[list, p] uses the function p to determine whether each pair of elements in list is in order.

FilledSmallSquare See Section 2.2.10 and Section 2.3.5.

FilledSmallSquare See also: Signature, Sort.

FilledSmallSquare New in Version 1.

Further Examples