Problems should be in descending order