Sorting the DOM in Javascript

web-development

After messing around with tinysort, I just couldn’t get it to do what I was looking for (reliably anyway…)  So, I put together my own custom sort function.  Turns out it way more straightforward than I would have guessed.