by Modifier

The by modifier designates a sort key, in ascending order, and must be followed by an attr.name. It may be used with any command that lists or selects items, such as list or select.

Syntax

by attr.name {by attr.name...}

 

NOTE

If by is provided with a command that does not naturally sort (such as the list command), the command is changed to its sorting counterpart (for example, list becomes sort, select becomes sselect, and so on).

Example(s)

list entity by zip

 

sselect invoices by date by customer

 

list entity with name = "[mike]" by name

See Also

B-Tree

break-on Modifier

by-dsnd Modifier

by-exp Modifier

by-exp-dsnd Modifier

Modifiers

sort Command