improve quicksort for single linklist