(Issue 3460) Reverse order of CSS classes