Unspecified Array.prototype.sort() behaviour