sort

abstract fun <T : Comparable<Byte>> sort(fromIndex: Int = 0, toIndex: Int)

使用快速排序算法对此数组的指定范围内的元素进行排序。

参考 kotlin.collections.sort

Parameters

fromIndex

要排序的范围的起始索引(包括)。

toIndex

要排序的范围的结束索引(不包括)。