Revert "Revert change to copy templates out of order. "

This reverts commit e6d46e42bd649dfeb97788df31ee39d59bc0bfe3.

It wasn’t behaving as expected, but now it is (and I can’t reproduce
the original alphabetical error so…)