Documentation - RestApp

Sort columns

Definition

Returns the table with sorted Column name if no column add, returns the table with the sorted column if column is informed.

Options

Columns (+add: Column name / Order):

Parameters

  1. Column name:

    • Def: Specify the column for ordering.
  2. Order:

    • Def: Specify the sort method by default ascending with empty first.

Additional Comments

Order:

  1. desc_null_first:

    • Descending order with the nulls in first position.
  2. asc_null_first:

    • Ascending order with the nulls in first position.
  3. desc_null_last:

    • Descending order with the nulls in last position.
  4. asc_null_last:

    • Ascending order with the nulls in last position.