Order templates by group name