[ static enum ] SortOrder

Class: Table.

Description:

Enum for sort order.

Type: number

Properties:

Name Description

None

No sorting order applied.

Ascending

Values sorted from smallest to largest.

Descending

Values sorted from largest to smallest.

Examples:

Sorting rows by column 2 in ascending order:

table.sortOrder(2, false, Table.SortOrder.Ascending);

Also See: