really works for qsort1