May 05, 2008 Re: Sorting array or AssocArrays by value. | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Manfred Nowak | 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.
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply