Split Inversions running perfectly in O(nlogn)