I've come across various Style Guides that discuss declaration and attribute ordering, but surprisingly none that specifically address class ordering.
For instance, one developer's code looks like this:
<div class="btn btn-primary btn-lg mt-2 ml-3">My button</div>
While another developer's code is written like this:
<div class="mt-2 ml-3 btn btn-lg btn-primary">My button</div>
I am seeking consistency in class ordering. Are there any established Style Guides or best practices that focus on this particular aspect?