Sorting

Functions

  • ArraySort()

    Sorts array elements numerically or alphanumerically.

  • ListSort()

    Sorts list elements according to a sort type and sort order.

  • QuerySort()

    Sorts the query based on the column specified and the order criteria given. Modifies the original query object

  • StructSort()

    Returns a sorted array of the top level keys in a structure. Sorts using alphabetic or numeric sorting, and can sort based on the values of any structure element.

  • StructToSorted()

    Returns a struct sorted by the top level keys in a structure. Sorts using alphabetic or numeric sorting.

Methods

  • array.sort()

    Sorts array elements numerically or alphanumerically.

  • query.sort()

    Sorts the query based on the column specified and the order criteria given. Modifies the original query object

  • string.listSort()

    Sorts list elements according to a sort type and sort order.

  • struct.sort()

    Returns a sorted array of the top level keys in a structure. Sorts using alphabetic or numeric sorting, and can sort based on the values of any structure element.

  • struct.toSorted()

    Returns a struct sorted by the top level keys in a structure. Sorts using alphabetic or numeric sorting.