sortTable()

Sort a table.

Syntax

sortTable(
   tableName  STRING,
   columnName  STRING, 
   sortType STRING)
  1. tableName is the name of the table.
  2. columnName is the name of a column.
  3. sortType is the sort order
    sortType values:
    ggc.SORT_ASCENDING - Sort ascending order.
    ggc.SORT_DESCENDING - Sort descending order.
    ggc.SORT_DEFAULT - Reset sort 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)