mongodb-driver-kotlin-sync
5.3.0
jvm
mongodb-driver-kotlin-sync
/
com.mongodb.kotlin.client
/
FindIterable
/
sort
sort
fun
sort
(
sort
:
Bson
?
)
:
FindIterable
<
T
>
Sets the sort criteria to apply to the query.
Return
this
Parameters
sort
the sort criteria.
See also
Cursor sort