quick sort of linked list