SORTUP

Use SORTUP to sort the objects of a series in ascending sequence.

The SORTUP function returns a series containing the values from an input series in ascending order.
  • When the character set of the data is ASCII, the objects are sorted in ASCII ascending order.
  • For all other character sets, the objects are sorted in binary ascending order.
Syntax:
SORTUP ( series-item-expression )
Meaning:
SORTUP ( item_series_to_sort )
Returns:
A series object

SORTUP returns the values in item_series_to_sort in ascending order.

Examples

  • SORTUP ( Abbr:File )

    In this example, if Abbr had the ASCII values ABC, GHI, DEF, the SORTUP function would return these values as a series: ABC, DEF, GHI.

Related functions

  • SEARCHDOWN
  • SEARCHUP
  • SORTDOWN
  • UNIQUE