So I have a list of items, ordered by name, which I get using an @FetchRequest. Each List row has a NavigationLink, where the user can edit the name of the item. If the user edits the name of the item in such a way as to reorder the list, then taps the Back navigationBarItem, it takes them back to the List view, but then the detail view of the item they just edited is pushed again.
For example:
For example:
I have a list of 2 items with names 'Alpha' and 'Beta'
I open the detail view for 'Alpha'
I set the name to 'Zeta'
I go back to the main list view (where now the list would be ordered as 'Beta', then 'Zeta')
The detail view for 'Zeta' (used to be 'Alpha') is opened again