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

Reply via email to