Skip to content

SortDirection

Not yet Enum

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

Not implemented in Nova

This enum is missing from Nova. Scripts that reference it will fail.

Description

Controls the ordering direction of results returned by APIs that support sorted retrieval, such as DataStore.ListVersionsAsync() and MemoryStoreSortedMap.GetRangeAsync(). Pass SortDirection.Ascending to receive items ordered from lowest to highest (or oldest to newest), and SortDirection.Descending to receive them from highest to lowest (or newest to oldest).

Items

Item Value Status Notes
Ascending 0 Not yet Orders results from lowest to highest value, or from oldest to newest entry.
Descending 1 Not yet Orders results from highest to lowest value, or from newest to oldest entry.

Roblox reference: SortDirection