Order in template matches order in output