leetcode sort list mergesort