Sort characters in string

Fredrik Boulund fredrik.boulund at gmail.com
Wed Dec 6 12:43:09 UTC 2017


On Wednesday, 6 December 2017 at 10:42:31 UTC, Dgame wrote:

>
> Or you simply do
> ----
> writeln("longword".array.sort);
> ----

This is so strange. I was dead sure I tried that but it failed 
for some reason. But after trying it just now it also seems to 
work just fine. Thanks! :)


More information about the Digitalmars-d-learn mailing list