Sorting an Array in JavaScript
published on
If you’ve sometimes wondered how sorting arrays in JavaScript works, or rather how it does not work, this is a good post from Phil Nash explaining some of the gotchas and inconsistencies.
Read the full article here: How not to sort an array in JavaScript