2 ms·that will achieve incredible performance on the right arrayby agos 11mo agothat will achieve incredible performance on the right arrayxigoi 11mo agoIt only works correctly on an empty array, on which any sorting algorithm is fast.