Style Order for Prettier
Style Order is a Prettier plugin which sorts property declarations and groups related properties.
Installation
npm i -D prettier-plugin-style-order
That's it! Prettier should automatically find/use the plugin.
If it doesn't seem to be working, refer to Prettier's plugin docs for more in-depth directions.