Sorting array or AssocArrays by value.

BCS BCS at pathlink.com
Mon May 5 09:07:24 PDT 2008


Manfred Nowak wrote:
> BCS wrote:
> 
> 
>>My solution is about the same as frits' solution but without the
>>extra type or function calls, but with a big does of WTHuuu...
> 
> 
> This isn't the first time a request for the permutation computed by the 
> sort routine comes up. Should such be incorprated into the language?
> 
> -manfred

No, it's easy enough to wrap it up in a templated struct in the library.



More information about the Digitalmars-d mailing list