Name

sort()

Class

Table

Description

Sorts (orders) a table based on the values in a column.

Syntax

  • .sort(columnName)
  • .sort(column)

Parameters

  • columnName(String)the name of the column to sort
  • column(int)the column ID, e.g. 0, 1, 2

Return

  • void