Background: the lexicographic or lexicographical order (also known as lexical order, dictionary order, alphabetical order or lexicographic(al) product) is a generalization of alphabetically ordered based on the alphabetical order of their component letters.
This generalization means that the order is not based on alphabetical order but based on relationship between two letters or entities.
Example: Given that r < c, c < a, r < m, m < c So, the lexicographical order would be r, m, c, a