Fast median search: an ANSI C implementation (1998)
ndevilla.free.fr
ndevilla.free.fr
Actually the standard doesn't require qsort() to be quicksort. For example, musl's implementation uses the smoothsort algorithm.
http://port70.net/~nsz/c/c11/n1570.html#7.22.5.2
http://git.musl-libc.org/cgit/musl/tree/src/stdlib/qsort.c?i...