2.1.19 [ECMA-262/5] Section 22.214.171.124, Array.prototype.sort (comparefn)
The specification states:
NOTE 2 The sort function is intentionally generic; it does not require that its this value be an Array object. Therefore, it can be transferred to other kinds of objects for use as a method. Whether the sort function can be applied successfully to a host object is implementation-dependent.
IE9 Mode, IE10 Mode, and IE11 Mode (All Versions)
The sort method can be applied to a host object; however, some host objects may reject such an application.