# SortOrder

enum SortOrder : Enum<SortOrder>

## Entries

ASC
Link copied to clipboard
ASC
DESC
Link copied to clipboard
DESC
ASC_NULLS_FIRST
Link copied to clipboard
ASC_NULLS_FIRST
DESC_NULLS_FIRST
Link copied to clipboard
DESC_NULLS_FIRST
ASC_NULLS_LAST
Link copied to clipboard
ASC_NULLS_LAST
DESC_NULLS_LAST
Link copied to clipboard
DESC_NULLS_LAST

## Properties

code
Link copied to clipboard
val code: String
entries
Link copied to clipboard
val entries: EnumEntries<SortOrder>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int

## Functions

valueOf
Link copied to clipboard
fun valueOf(value: String): SortOrder

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
Link copied to clipboard
fun values(): Array<SortOrder>

Returns an array containing the constants of this enum type, in the order they're declared.