What is the best way to do an inverse sort in scala? I imagine the following is somewhat slow.
list.sortBy(_.size).reverse
Is there a conv
list.sortBy(_.size)(Ordering[Int].reverse)