If your objects have some kind of ID, you can store an ID in a custom role and provide a custom method for getting an index of an item with a given id.
I'm not sure what is the exact relation and hierarchy between items, so it's hard for me to suggest something better.
Bookmarks