bool TermKeyCmp::operator()(const TermKeyKey& a, const TermKeyKey& b) const { return termkey_keycmp(COREMANAGER->getTermKeyHandle(), &a, &b) > 0; }
bool Compare(const TermKeyKey& a, const TermKeyKey& b) { return !termkey_keycmp(COREMANAGER->GetTermKeyHandle(), &a, &b); }