The order of the class attribute doesn't matter one bit. It depends on several things, in your case it's the order in which your css is written.
Both styles have the same specificity, so the .two style overrides the style of .one because it's lower in the style tag.