iterate through javascript hash map in key order

in Help Center
Is there a way to iterate through a javascript Ice::HashMap in key order. Since this represents a dictionary, I would assume this would supported but both looping through the entries field or using forEach does not do it.
0
Comments
You're correct, we don't currently provide a way to iterate over the keys in a sorted order. For now, I suggest that you collect the keys in an array, sort the array, and then iterate through the array entries to retrieve map values.
ECMAScript 6 has a keys() method in their Map proposal. We'll add something similar to our type for the 3.6.0 release. It probably still won't be sorted in any meaningful way, but it will at least be a little more convenient to obtain the keys.
Regards,
Mark
Regards,
Mark