AdvancedSort

From Planimate Knowledge Base
Jump to: navigation, search

Routine operation that performs an advanced sort on a table using another table to define the sort criteria.

This operation allows you to dynamically specify alpha sort or numeric sort and forward sort or reverse sort.

The second table passed contains the configuration information for the sort as follows:

Column 1  contains the column #s for the sort keys
Column 2  contains the forward/reverse flag (0 = forward, 1 = reverse)
Column 3  contains the numeric/alpha flag (0 = numeric, 1 = alpha)

This table can contain up to 8 rows, the maximum number of sort columns supported.