/** * Ascending numeric comparator. Pass directly to `Array.prototype.sort`. */ export function asc(a: number, b: number): number { return a - b; }