Add interface to lexicographical ordering of cases.