NQL sort
A sort ... asc
or sort ... desc
clause orders the results by a field in ascending or descending order, respectively.
Syntax
Sort data starting from the lowest value:
Sort data starting from the highest value:
Examples
Sort users by their username in alphabetical order:
Name
Type
Alice Smith
LOCAL_USER
Amanda Carella
LOCAL_ADMIN
Sort users by their username in reverse alphabetical order:
Name
Type
Zion Bush
LOCAL_USER
Zachary Doe
LOCAL_ADMIN
Last updated