Skip to contents

Sort, Order and Collapse Vector

Usage

sort_order(x)

Arguments

x

<character> vector

Value

<character> vector

Examples

(x <- sample(c(LETTERS, 0:9), size = 10))
#>  [1] "R" "D" "S" "4" "L" "B" "M" "Q" "I" "Y"

sort_order(x)
#> [1] "BDILMQRSY4"