Restore the qsort mistakenly removed last time