code for "Sort List" (Singly-linked list & merge sort)