sort

fun sort(sort: Bson?): FindFlow<T>

Sets the sort criteria to apply to the query.

Return

this

Parameters

sort

the sort criteria.

See also