Sorting array or AssocArrays by value.
bearophile
bearophileHUGS at lycos.com
Sun May 4 03:36:56 PDT 2008
Me Here:
> I have (currently) an array of uints. I need to output these sorted, which
> .sort does admirably,
> but I need to know what index is associated with each value. How?
My libs are designed to solve such problems too, take a look at sortedAA inside the func module:
http://www.fantascienza.net/leonardo/so/libs_d.zip
Bye,
bearophile
More information about the Digitalmars-d
mailing list