It's not actually legal by the C standard to call qsort with a null