kmongo / org.litote.kmongo.coroutine / CoroutineFindPublisher / sort

sort

fun sort(sort: Bson): CoroutineFindPublisher<T> (source)

Sets the sort criteria to apply to the query.

Parameters

sort - the sort criteria.

Return
this

Mongodb
.driver.manual reference/method/cursor.sort/ Sort