export interface Comparator { compare(a: T, b: T): number; }