Lexicographical order, also known as dictionary order, arranges strings in the same way as words are listed in a dictionary. For example, the strings "apple," "banana," and "cherry" will be sorted in that order. In C, we can achieve this by comparing strings character by character. https://docs.vultr.com/clang/examples/sort-elements-in-lexicographical-order-dictionary-order