kmongo / org.litote.kmongo / com.mongodb.client.MapReduceIterable / sort

sort

fun <T> MapReduceIterable<T>.sort(sort: String): MapReduceIterable<T> (source)

Sets the sort criteria to apply to the query.

Parameters

sort - the sort criteria, which may be null

Return
this