chars
R/methods.R
sort.chars.Rd
Sort a chars Object
# S3 method for class 'chars' sort(x, decreasing = FALSE, ...)
a chars object.
logical. Should the sort be increasing or decreasing? Not available for partial sorting.
further arguments passed to or from other methods.
a sorted chars object.
sort(chars("alphabet")) #> [1] "aabehlpt"