Vladimir Panteleev:

Seriously, Bearophile suggested "ABCD".sort(), and it took about 6 pages (!) for someone to point out this would be wrong.

Sorting a string has quite limited use in the general case,

It seems I am sorting arrays of mutable ASCII chars often enough :-)

Time ago I have even asked for a helper function:
https://d.puremagic.com/issues/show_bug.cgi?id=10162

Bye,
bearophile

Reply via email to