sort linkedlist