Search Sort
class SearchSort
Specifies how to sort the results of a search query.
Create instances using the companion factory methods.
For tiered sorting, chain using then or of.
Samples
// tiered sort
val sort = byField("foo") then byId()
// the same sort, but built from a list
val sameSort = SearchSort.of(listOf(byField("foo"), byId()))Content copied to clipboard