(values, index)
| 141315 | }; |
| 141316 | } |
| 141317 | function sort(values, index) { |
| 141318 | values.sort.call(index, (a, b)=>{ |
| 141319 | const x = values[a], y = values[b]; |
| 141320 | return x < y ? -1 : x > y ? 1 : 0; |
| 141321 | }); |
| 141322 | return (0, _d3Array.permute)(values, index); |
| 141323 | } |
| 141324 | function merge(base, value0, index0, n0, value1, index1, n1, value, index) { |
| 141325 | let i0 = 0, i1 = 0, i; |
| 141326 | for(i = 0; i0 < n0 && i1 < n1; ++i)if (value0[i0] < value1[i1]) { |