[r] How to sort a data frame by alphabetic order of a character variable in R?