sorted By Descending
inline fun <R : Comparable<R>> ByteBuffer.sortedByDescending(crossinline selector: (Byte) -> R?): List<Byte>
Content copied to clipboard
inline fun <R : Comparable<R>> ShortBuffer.sortedByDescending(crossinline selector: (Short) -> R?): List<Short>
Content copied to clipboard
inline fun <R : Comparable<R>> IntBuffer.sortedByDescending(crossinline selector: (Int) -> R?): List<Int>
Content copied to clipboard
inline fun <R : Comparable<R>> LongBuffer.sortedByDescending(crossinline selector: (Long) -> R?): List<Long>
Content copied to clipboard
inline fun <R : Comparable<R>> FloatBuffer.sortedByDescending(crossinline selector: (Float) -> R?): List<Float>
Content copied to clipboard
inline fun <R : Comparable<R>> DoubleBuffer.sortedByDescending(crossinline selector: (Double) -> R?): List<Double>
Content copied to clipboard
inline fun <R : Comparable<R>> CharBuffer.sortedByDescending(crossinline selector: (Char) -> R?): List<Char>
Content copied to clipboard
Returns a list of all elements sorted descending according to natural sort order of the value returned by specified selector function.