some uses about qsort function