I need to be able to order my data output from A-Z then AA-ZZ. The problem is, I can only get R to order alphabetically so AA comes before B and C.
Is there a way I can order my data as single letters first then double letters (a, b, c, aa, bb, cc) alphabetically?