We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrated from rt.perl.org#126860 (status was 'rejected')
Searchable as RT126860$
The text was updated successfully, but these errors were encountered:
"bca".sort.say # OUTPUT«(bca)»
Sorry, something went wrong.
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
The RT System itself - Status changed from 'new' to 'open'
@coke - Status changed from 'open' to 'rejected'
No branches or pull requests
Migrated from rt.perl.org#126860 (status was 'rejected')
Searchable as RT126860$
The text was updated successfully, but these errors were encountered: