Publish running version solution vs deploy new version through Lifetime module sort

Hi guys,

I'm curious by one thing:

When we deploy through LifeTime (and maybe a solution with new module versions), between environments, the modules are being compiled, refreshed, etc, with an alphabetic order.

Yet, when we start a running version solution, the modules are being compiled, refreshed, etc, with a "random" order. Maybe it's not that random, and has a purpose, but what I would like to know is why is this difference. Does anyone know?

Thank you!

Nelson