modify:reorganize qsort