I have a collection of objects named 'test0', 'test2'...'test999'.
When copying these objects between different Blender scenes/windows sometimes the internal collection order gets messed up and bpy.data.objects[0].name yields 'test11' (only an example, not sure of the pattern) instead of 'test0'.
But visual order in the outliner stays the same. Am I missing an easy way to get the order of the collection in the outliner? The info seems to be there.
Sorting alphabetically doesn't work either and outputs 'test1', 'test10'... 