Add reference info for sort() method for Table class

This commit is contained in:
REAS
2016-11-10 21:55:37 -08:00
parent c66e2df08b
commit 1808568f15

View File

@@ -4214,12 +4214,21 @@ public class Table {
// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
/**
* Sorts (orders) a table based on the values in a column.
*
* @webref table:method
* @brief Orders a table based on the values in a column
* @param columnName the name of the column to sort
* @see Table#trim()
*/
public void sort(String columnName) {
sort(getColumnIndex(columnName), false);
}
/**
* @param column the column ID, e.g. 0, 1, 2
*/
public void sort(int column) {
sort(column, false);
}