How would I sort an associative array by value?

ixid nuaccount at gmail.com
Fri Jun 29 10:52:04 PDT 2012


Or more generally does D have a library function so I can sort 
one array based on sorting the contents of another? I don't want 
to just sort the values alone, the associated keys would need to 
move with them. I can think of ways of doing it myself, just 
wondering if there's an elegant way built in.


More information about the Digitalmars-d-learn mailing list