Copying Filters Overrides in Exact Index

I’m working on a Script to copy Filter Overrides property from one View Template to Others. Is there any way I could Copy them in the exact Index like the original one?

Don’t use the second Views.GetByType, just use the views from the first one and that should then keep everything in order, u less I am not understanding the question completely.

For Example If from “View Template_Copy From” I want to Copy “Filter 1” and “Filter 2” it will copy the Filters in “View Template_Copy to” at the end of Filter List in Visibility Graphics Filter Option. I want to maintain the Index of the filters I copied from.