using builtin qsort now
no longer using user defined quicksort