Minor sorting fix