explain some of the method to my madness
better whitespace
sort the ids=>name hash too, to minimize diffs between versions
...and fall back to sorting by id, for deterministic sort results
I use // in the template code - requires 5.010
remove old script that got folded into the template