This is behaving as intended. .sort works on something list-like (FYI, this method is coming in via the Any class).
A Str is a single item, so the result of calling sort on it is a list containing the original string as the only element. If you want to sort the individual characters, you can use: > "NOTABUG".comb.sort.join # no-arg comb returns a list of the individual > characters, then we sort the list, and then join it back together ABGNOTU Regards. -- Will "Coke" Coleda