If you are using the IDE VS Code or Codium (the OS version) maybe you could try an extension that keep in a certain order all the Tailwind classes in each tag:
- Headwind by Ryan Heybourn
@Rhiino1
Posted
Hey! @ttsoares
I found it and it seems that gives a properly order to classes, thank you so much! :)