1 In one of my first articles I asserted that, while the JavaScript core continues to be improved with new methods, it still misses some useful ones.
2 If so, the array will be sorted using the given function, otherwise the sort() method will convert the items to strings and compare them in lexicogr..
3 For all the methods described here, I’ll add them to the prototype of the proper object so that all of the instances will share the same method.