Appearance
Comparator<T> = (a, b) => number
T
a
b
number
Defined in: types.ts:5
A standard JS/TS comparator: negative if a sorts before b, positive if after, zero if equal.