I searched it up but I couldn't find anything since I don't know the actual name to it. Is it possible to have a nonlexicographic order for example the Alphabet comes first before then numbers then symbols?
I know in java compareTo statement does it lexigraphic so is there a non-lexicographic order?