A C library of sorting algorithms