1 a generalization of the way words are alphabetically ordered based on the alphabetical order of their component letters.
1lexicographical order is alphabetical order. The other type is numerical ordering. Consider the following values,
2
31, 10, 2
4Those values are in lexicographical order. 10 comes after 2 in numerical order, but 10 comes before 2 in "alphabetical" order.