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

sort

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

Sets the sort criteria to apply to the query.

Parameters

sort - the sort criteria

Return
this