aggregates on index template are ordered recursivly by position