what it does:
<p class="foo"></p>
$('p').addClass('bar');
output:
<p class="foo bar"></p>
what i need:
<p class="bar foo"></p>
So is it possible to add a class to an element to the first position?
edit (context): theres a split function on the last class right now. if another class is added its appended to the second split array as well.