Sort Associative Array by Key

Samir samir at aol.com
Sun Aug 25 16:54:33 UTC 2019


Is there a way to output the values of an associative array based 
on the lexicographic order of the keys?

For example, if foo = ["VXE":8, "BZP":5, "JLC":2], I'd like to 
output something like:

5
2
8

Thanks!
Samir


More information about the Digitalmars-d-learn mailing list