make sure pairKey cui's are sorted