[ static enum ] Sorting

Class: Table.

Description:

Enum for column sorting modes.
Used in column definitions, e.g., { sorting: Table.Sorting.Natural }.

Type: number

Properties:

Name Description

None

No sorting applied.

Natural

(Default) Natural order sorting (alphanumeric).

CaseInsensitive

Case-insensitive string sorting.

Integer

Sort values as integers.

Float

Sort values as floating-point numbers.

Examples:

table.addColumn({
   text: "New Column",
   sorting: Table.Sorting.CaseInsensitive
});

Also See: