sort associative array on values

Jan Hanselaer jan.hanselaer at gmail.com
Thu May 10 06:17:20 PDT 2007


Hi,

It is easy to output a associative array sorted on his keys but does anyone 
know how to do it with the values sorted?

I use associative arrays for frequency tables (for char[] en char) and I 
would like to output those sorted by value, and if that would be possible, 
also by key for equal values. Anyone ever tried this of has any ideas?

Thanks in advance!
Jan 




More information about the Digitalmars-d-learn mailing list