sortByDim

fun sortByDim(config: BKDConfig, sortedDim: Int, commonPrefixLengths: IntArray?, reader: MutablePointTree, from: Int, to: Int, scratch1: BytesRef, scratch2: BytesRef)

Sort points on the given dimension.