On ES2019 Array.prototype.sort() must be stable sort.
But IE11's sort() function doesn't support stable sort.
So this program doesn't work correctly on IE11.
someArray
.sort((a, b) => a.att1 - b.att1)
.sort((a, b) => a.att2 - b.att2)
I know Polyfill support undefined function.
But IE11's Array.prototype.sort() is defined and doesn't satisfy ES2019.
How to avoid this bug?
I'm using vue-cli (or webpack). Please tell me the solve.
And I can't stand to learn all IE11's bug.
Is there a way to solve this easily like webpack's or babel's config?