sortDescending

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.

Since Kotlin

1.0

Sorts elements in the array in-place descending according to their natural sort order.

Since Kotlin

1.0

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.

Since Kotlin

1.0

Sorts elements in the array in-place descending according to their natural sort order.

Since Kotlin

1.3