ember-table
ember-table copied to clipboard
Consider using built-in Array.sort instead of custom mergeSort
Ember Table uses a custom mergeSort implementation in order to provide a stable sort. It does so because at the time the code was written, built-in Array.prototype.sort was not stable.
As of late 2018 all major browser engines have a stable sort and it is also part of the Ecmascript spec: https://github.com/tc39/ecma262/pull/1340.
Perhaps it's time to consider removing our custom mergeSort.
Does IE11 too?