# Enum.SortDirection

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/SortDirection/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/SortDirection

Controls whether results are ordered from lowest to highest or from highest to lowest.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Ascending` | 0 | Orders results from lowest to highest value, or from oldest to newest entry. |
| `Descending` | 1 | Orders results from highest to lowest value, or from newest to oldest entry. |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [DataStore](https://rapi.sleaze.dev/classes/DataStore.md): method parameter `ListVersionsAsync`
- [MemoryStoreSortedMap](https://rapi.sleaze.dev/classes/MemoryStoreSortedMap.md): method parameter `GetRangeAsync`
