Naturalest sort

For RSS readers: This article contains interactive content available on the original post on leanrada.com . You may have heard of the legendary naturalSort in JavaScript. /* * Natural Sort algorithm for Javascript - Version 0.7 - Released under MIT license * Author: Jim Palmer (based on chunking idea from Dave Koelle) */ function naturalSort (a, b) { var re =…