sort

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

Sets the sort criteria to apply to the query.

Return

this

Parameters

sort

the sort criteria