If the specificity is equivalent, they are applied in order of definition.
Example:
.a {
color: red;
}
.b {
color: blue;
}
<span class="a b">this is blue</span>
<span class="b a">this is blue</span>
If you're curious, here is the rules of how styles are cascaded.