lexicographical_compare Returns true if first range lexicographically less than second Ranges do not have to be the same length A binary predicate can be used