In order to run .SetSubItemOrder() run .Remove() If you run administration.Clear() you’ll delete them all.
.SetSubItemOrder()
.Remove()
administration.Clear()
also after making changes you can run dotnet build /graphBuild command line to update all references
dotnet build /graphBuild