Order your styles based on idiomatic-css.
npm install --save-dev stylelint-config-idiomatic-order
Set your stylelint config to:
{ "extends": "stylelint-config-idiomatic-order" }
You can easily extend the config to your needs.