toSortedSet

fun CharSequence.toSortedSet(): SortedSet<Char>

Returns a new SortedSet of all characters.