ParallelSorter.java | Class | For the efficient sorting of multiple arrays in parallel.
Given two arrays of equal length and varying types, the standard
technique for sorting them in parallel is to create a new temporary
object for each row, store the objects in a temporary array, sort the
array using a custom comparator, and the extract the original values
back into their respective arrays. |