Does the module install, load and generate entities from / scr / Entity in alphabetical order?

Does the module install, load and generate entities from / scr / Entity in alphabetical order?
How to change it because the first entity depends on the second (it has fields with the reference of the entity to the second entity).
I do not usually change the name of the entity