Finish the merge sort of linkedlist