Hello, guys. I need your help with Kotlin sorting ...
# getting-started
s
Hello, guys. I need your help with Kotlin sorting a bit. I have such code
Copy code
val list: List<Foo> = ...
val sortedList = list.sortedWith(compareBy({ it.a }, { it.b }, { it.c }))
and I need to sort list descending, not ascending. How I can do this?