If I have a large DF (hundreds and hundreds) columns with different col_names randomly distributed alphabetically:
df.x <- data.frame(2:11, 1:10, rnorm(1
Try this
df %>% select(noquote(order(colnames(df))))
or just
df[,order(colnames(df))]