sort milestones