sort the problems to fit the new version of leetcode which sort problem as date