Sort List Leetcode Solution