I was wondering if it is normal that a parent entities Child DynamicBuffer would have it’s children in reverse order of how they were created? Is there any way to control this ordering rather than creating them in the reverse order of how I want to be able to iterate through the child buffer?
EDIT: It is actually looking like the entities may not maintain order based on creation at all. They seem to be reversed for the most part, but at the end of the DynamicBuffer, the order gets a bit random.
I would say it was never a really safe practice to rely on order of children in an hierarchy. It is probably better to build your own sorted DynamicBuffer in conversion.
The order will depend on the order the entities are stored in chunks which depends on a lot of things. There is no way to rely on this or that the behavior remains the same in the future.
Thanks for the responses and the explanation as to why it is not ordered as created. I ended up doing as MaNaRz suggested and stored the properly ordered entities in a DynamicBuffer.