Really O(n lg n) inversion count now. Exploiting merge sort.

Yay!