Adjusted ordering of generated cssClasses.

This is the 1st of 2 pull requests I am going to send you.

This one adjusts the ordering, which isn't a high priority or a major fix, but more of a trivial OCD fix :-D