sortTable()
Sort a table.
Syntax
sortTable(
tableName STRING,
columnName STRING,
sortType STRING)
- tableName is the name of the table.
- columnName is the name of a column.
- sortType is the sort order
- sortType values:
ggc.SORT_ASCENDING
- Sort ascending order.
Usage
You can use it to sort a table to test this action in a scenario. For example:
CALL ggc.sortTable("items", "description", ggc.SORT_DESCENDING)