array_inversions