partition works, qsort haven't.