Adding refinments to d3/src-ts/arrays/ascending.ts