Export Bug: Adding transfroms to a list automatically

This script bellow for adding transfroms to a list automatically works correct when i test it in the Unity Editor, but the export doesn’t. Sequence is mixed up. Why? It seems to be a bug. Any workarounds?
7502245--924368--BugBuilding01.jpg 7502245--924371--BugBuilding02.jpg

I don’t think FindGameObjectsWithTag guarantees any particular order. If you depend on it, you need to sort them yourself.