How to write array sort polyfill using merge sort approach
I was trying to write a polyfill for array sort in javascript. But It turns out that the comparator doesn’t cause any effect on the polyfill. Any idea how to make it work?
I was trying to write a polyfill for array sort in javascript. But It turns out that the comparator doesn’t cause any effect on the polyfill. Any idea how to make it work?