Provide comparers for pair and triplet