Andy, You are my hero! I can't thank you enough.
Hopefully this helps someone else down the path.
Again, many thanks!
Dave
On Feb 6, 12:50 pm, Andy Freeman wrote:
> Javascript {} is a map/hash table, not a list. It doesn't have an
> "order".
>
> If you want the tag, tagname tuples in tag ord
Javascript {} is a map/hash table, not a list. It doesn't have an
"order".
If you want the tag, tagname tuples in tag order, you have to put them
in tag order yourself.
Try "for tag, tagname in sorted(tags.itertems()):"
Note that "sorted(tags.iteritems())" sorts the keys in string order,
not n