qsort sting cmp optimized with imaginary terminal symbol