Prettier vsCode and tailwindCss auto class sorting

Install prettier extension on vscode
URL
Open the vscode setting window
(Shortcut ctrl + ,)
Search for āEditor: Default Formatterā and select Prettier-code formatter from drop-down
Search for āEditor: Format On Saveā and activate āthe format a file on saveā
Done