CSS sorting rules. Good friend with postcss-sorting.
The rules base on bootstrap V4 PropertySortOrder.
$ npm install --save-dev cssortie
Firstly, you have to install postcss and postcss-sorting.
Next, set postcss options:
var sorting = require('postcss-sorting')
postcss([
sorting({ 'sort-order': require('cssortie') })
]))
MIT