SortData

constructor(direction: Int = DEFAULT_SORT_DIRECTION, sortField: String)

Parameters

direction

The direction of sorting. -1 for descending, 1 for ascending.

sortField

The property by which to apply sorting. Options depend on the object you're querying.