Inversions, qsort, divideconquer