import { type Comparator } from '@/types'; export const numberComparator: Comparator = (a, b) => a - b;