Merge sort linked list