Counting inversions using Mergesort.