<@U6179H5K2> Well using the it-style lambda won't ...
# getting-started
k
@vikingmew Well using the it-style lambda won't work, you have to compare two objects so you'll need to parameters. You can either write the comparison yourself or you can see if you can find something here: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.comparisons/ Edit: something like this should work:
Copy code
val comparator = reverseOrder(compareBy(it.a, it.b))