Benchmarking "sort" in JS, ASObC, AS etc

Does sortedness of an array (prior to sorting) influence the choice of sorting routine ?

1 Like

Sorry, I have no idea – the actual process is completely opaque. I can imagine it might if the original array is itself the result of a sort, but I’m just speculating.

1 Like