powered by
Sort by Prefix
sort_pref(x)
character
character; strings to sort
x <- c('pop', 'pop_2020_est', 'pop_white_2020', 'pop_black_2020') sort_pref(x)
Run the code above in your browser using DataLab