From 1808568f159be919da708f477effb10a539637b6 Mon Sep 17 00:00:00 2001 From: REAS Date: Thu, 10 Nov 2016 21:55:37 -0800 Subject: [PATCH] Add reference info for sort() method for Table class --- core/src/processing/data/Table.java | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/core/src/processing/data/Table.java b/core/src/processing/data/Table.java index 4f6ede76c..17aab1245 100644 --- a/core/src/processing/data/Table.java +++ b/core/src/processing/data/Table.java @@ -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); }