Minor sorting correction