| sort_by_name | R Documentation | 
Sort a vector by names in ascending order
sort_by_name(x)
| x | named vector | 
c(b = 1, a = 2) %>% sort_by_name
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.