Change order of templates