Something goes wrong with range and sort?

monarch_dodra monarchdodra at gmail.com
Fri Jun 14 03:47:05 PDT 2013


On Friday, 14 June 2013 at 10:30:18 UTC, Aleksandar Ruzicic wrote:
> On Friday, 14 June 2013 at 10:25:04 UTC, Peter Alexander wrote:
>>
>> sort works just fine with string[]. Note that he's not sorting 
>> a string, he's sorting an array of strings.
>
> Then I must have understood it wrong (or have confused sort() 
> with some other function), gotta go read the docs again :)

You are mostly right, but there is a special overload of sort for 
narrow strings, that does it smart.


More information about the Digitalmars-d mailing list