Skip to content

issortedrows

table · scripts/table/issortedrows.m

: tf = issortedrows (A)
: tf = issortedrows (A, column)
: tf = issortedrows (A, column, direction)
: tf = issortedrows (…, Name, Value)

Return true when the rows of A are in sorted order.

column is a signed column index vector (negative = descend). direction is "ascend", "descend", "monotonic", "strictascend", "strictdescend", "strictmonotonic", or a cell of those (one overall, or one per key). Name-Value options are "MissingPlacement" ("auto"/"first"/"last") and "ComparisonMethod" ("auto"/"abs"/"real").