FANDOM


Used with the sort command to specify that sorting is in normal order (from less to greater).

Examples:

sort this stack ascending by field "Order Number"

Use the ascending keyword to improve the clarity of your code. For example, if a handler contains several sort commands and some are in descending order, you can use the ascending keyword explicitly to point up the fact that there are both ascending and descending sorts.

Example, we want to sort by the first column descending and by the second column ascending, so the code is:

sort lines of myText numeric ascending by item 2 of each
sort lines of myText  descending numeric by item 1 of each