In forcats we can sort levels
inseq. But is there function to sort alphabetically?
Sometimes I just use e.g.
case_when to define some groups and I give them prefixes a,b,c,... and to have it in order i need to use base as.factor. Or if I use date/time to char conversion (e.g %Y-%m).
I would expect something like fct_inalpha (but with better name).
If not should it be?