Putting styles in order