Sorting an Array in JavaScript Bookmark

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

screenshot of article title from Phil Nash’s blog