Sort Linked List Leetcode Problem