interface KeyQueryOrder ((a, b) => -1 | 0 | 1)