Sorts elements in the array in-place descending according to their natural sort order.
The sort is stable. It means that equal elements preserve their order relative to each other after sorting.
Sorts elements in the array in-place descending according to their natural sort order.
Sorts elements in the list in-place descending according to their natural sort order.
The sort is stable. It means that equal elements preserve their order relative to each other after sorting.
© 2010–2019 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/sort-descending.html