add quicksort for list