implemented quicksort and quicksort for visual list