Change order of template iterator for better output

Change-Id: I832b72ca02086e13d1a2c5e126958b156af0e270
Add AR archive generator

Change-Id: I176b285e3b963f7d3f3abf2ff9403cd35957b21d