Merge sort and inversions in C
doctrina.org