For the current implementation I'm using an array of integers, Integer[], to use an external comparator. The order is not the 'natural' one but one defined externally.
Arrays.parallelSort(Integer[] array, Comparator<T> cmp);
Is there a way using parallelSort with an array of integers, int[], and a user defined comparator ?
instead , something like :
Arrays.parallelSort(int[] array, IntComparator cmp);
Performance is the issue (think if you've 10mio ints)