sortedArrayDescending
fun <T : Comparable<T>> Array<T>.sortedArrayDescending(): Array<T>Returns an array with all elements of this array sorted 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.
fun ShortArray.sortedArrayDescending(): ShortArrayfun FloatArray.sortedArrayDescending(): FloatArrayfun DoubleArray.sortedArrayDescending(): DoubleArray@ExperimentalUnsignedTypes fun ULongArray.sortedArrayDescending(): ULongArray@ExperimentalUnsignedTypes fun UByteArray.sortedArrayDescending(): UByteArray@ExperimentalUnsignedTypes fun UShortArray.sortedArrayDescending(): UShortArrayReturns an array with all elements of this array sorted descending according to their natural sort order.