http://oj.leetcode.com/problems/sort-list/