sort Array in a natural way
['a2', 'a11', 'a1'].sort()
// ["a1", "a11", "a2"]
Generally, we want ['a1', 'a2', 'a11'].And this is what our library will do it for you.
sort Array, the original list will be affected
sort Array, the original list will not be affected.use the return list
AMD / CommonJS / UMD
IE9+ / NodeJS
IE < 9 brwoser needs es5-shim