pub fn arraydeduplicate(text: &str, sep: char) -> Result<String>
Removes duplicate elements and returns a sorted array.