Structure row index numbering

Why do you need the index at all if it is supposed to change?

Edit: Maybe you could use the snippet field instead of the structure field, then make the index a readonly field that only displays a number via a snippet without actually storing anything (just an idea, haven’t tested this).