Made qsort 2 work