str_order {stringr} | R Documentation |
Order or sort a character vector.
str_order(x, decreasing = FALSE, na_last = TRUE, locale = "", ...) str_sort(x, decreasing = FALSE, na_last = TRUE, locale = "", ...)
x |
A character vector to sort. |
decreasing |
A boolean. If |
na_last |
Where should |
locale |
In which locale should the sorting occur? Defaults to the current locale. |
... |
Other options used to control sorting order. Passed on to
|
stri_order
for the underlying implementation.
str_order(letters, locale = "en") str_sort(letters, locale = "en") str_order(letters, locale = "haw") str_sort(letters, locale = "haw")