re-enable is_sorted check
quicksort for linked lists