Bug fix - styles sorting