swap quicksort list
use catagories