sort

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

Sets the sort criteria to apply to the query.

Return

this

Parameters

sort

the sort criteria

See also