API reference
API reference
Select your platform
No SDKs available
No versions available

SortOption

SortOption

enum SortOption : Enum<SortOption>
Sort options for sorting a list of entities.
These options determine the direction and case sensitivity of sorting operations. They can be applied to any sort criterion to control how entities are ordered.

Entries

NameSummary
ASC

Sort option to sort entities in an ascending order
DESC

Sort option to sort entities in a descending order
ASC_CASE_INSENSITIVE

Sort option to sort entities in an ascending order, ignoring case
DESC_CASE_INSENSITIVE

Sort option to sort entities in a descending order, ignoring case

Properties

NameSummary
name
val name: String
ordinal
val ordinal: Int

Functions

NameSummary
valueOf
fun valueOf(value: String): SortOption

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values
fun values(): Array<SortOption>

Returns an array containing the constants of this enum type, in the order they’re declared.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon