A way to control the order of loading modules

Hi,
my module overwrites Theia implementation. It works only if my module is loaded after Theia’s overwritten module is loaded as I rebind my subclass to the Theia class. My concern is that this code is fragile and depends on the way modules are loaded. Is there a way to control this order?

[original thread by Limor Erez]

Modules are sorted and loaded in topological order. If your package depends on another package, then your extensions are always loaded after extension from depenedencies.