//0th is identity identity
for (i = 1; i < resulting.length + 1; ++i) {
current = symmetries.get(i).list;
permutation = new int[size];
for (j = 0; j < size; ++j)
permutation[j] = sort.inverse().newIndexOf(current.get(sort.newIndexOf(j)));
resulting[i - 1] = new Symmetry(permutation, symmetries.get(i).sign);
}
SimpleIndices simpleIndices = IndicesFactory.createSimple(indices);
simpleIndices.getSymmetries().addAllUnsafe(resulting);
return simpleIndices;