util_separate_and_sort: For a vector x in which individual cell may have multiple values (separated by 'sep'), sort records within each cell alphabetically.

util_separate_and_sort(x, sep = " ")

Arguments

x

An individual cell with multiple values

sep

A separator, a whitespace is the default

Value

A vector of alphabetically sorted records

Examples

if (FALSE) util_separate_and_sort("z y x")