sortByDescending

inline fun <Type, R : Comparable<R>> GdxArray<out Type>.sortByDescending(crossinline selector: (Type) -> R?)

Sorts elements in the array in-place descending according to natural sort order of the value returned by specified selector function.