ascending

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

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:

# Syntax

ascending

# Examples

sort this stack ascending by field "Order Number"

# Description

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.

Since ascending is the default sort order, you never actually need to use the ascending keyword; if you leave it out, the sort is performed in ascending order anyway.

# Tags

# See

- **command:** sort, sort container - **glossary:** keyword, handler, command, sort - **keyword:** point