Ensure styles appear in alphabetical order
Copying allStyles isn't needed anymore