src/sortTypedIncreasing.js
import sortTypedIncreasingOptimized from './sortTypedIncreasingOptimized.js';
const sortTypedIncreasing = (a, i, j) => {
const k = i + 1;
if (k < j) {
let t = k;
const o = a[t];
while (t-- > i && a[t] > o) a[t + 1] = a[t];
a[t + 1] = o;
sortTypedIncreasingOptimized(a, k, j);
}
};
export default sortTypedIncreasing;