kmongo / kotlin.collections / com.mongodb.client.MongoIterable / sortedDescending

sortedDescending

fun <T : Comparable<T>> MongoIterable<T>.sortedDescending(): List<T> (source)

Returns a list of all elements sorted descending according to their natural sort order.