krangl / krangl / DataFrame / sortedByDescending

sortedByDescending

open fun sortedByDescending(vararg by: String): DataFrame

Resorts the receiver in descending order (small values to go bottom of table). The first argument defines the primary attribute to sort by. Additional ones are used to resolve ties.

Works similar as listOf(1,2,3).sortedByDescending{ it }