# /Sort

Source: https://help.malighting.com/grandMA3/2.4/HTML/ok_sort.html
This is grandocs, an unofficial mirror of MA Lighting documentation. For authoritative or safety-relevant information, cite the canonical page on help.malighting.com.

---
To enter the **/Sort **option keyword in the command line, use one of the options:

- Type **/Sort**
- Type the shortcut** /So**

## Description

The /Sort option keyword defines how to sort results in the command line history.

|                                            |                                                                                                       |
| ------------------------------------------ | ----------------------------------------------------------------------------------------------------- |
| ![](/img/grandma3/2-4/tip_gray-639af3.png) | **Hint:**                                                                                             |
|                                            | You can use **/Sort** together with the [/Limit option keyword](/grandma3/2-4/ok_limit/).   |

Use the following sort names to define the order you are using /Sort with:

| Sort Name  | Description                                |
| ---------- | ------------------------------------------ |
| Asc        | Sorts results in an ascending order.       |
| Desc       | Sorts results in an descending order.      |
| None       | Sorts results in the order of destination. |

## Syntax

MemoryInfo /Sort \["Sort\_Name"]

## General Keywords

General keywords that use the /Sort option keyword: