I'm curious why the arrange function won't will work for alphabetical order but not reverse alphabetical order.
df <- data.frame(string = as.character(c("b", "a", "c")), stringsAsFactors = F)
df %>% arrange(string) #works
df %>% arrange(-string) #does not work
Am I just using the completely wrong method for what I'm trying to accomplish?
From the
?arrange
help page, usedesc()