I want to sort the text of a file in lexicographic order but I'm having trouble understand what lexicographic order really does.
Ordering strings produces another issue; the relational operators use ASCII values so
betty < Diane
is false when it should be true .
Consider a sample list : betty, Diane, 123, Ana, Megan, charles, two, 12.
How would I set that in lexicographic order?