[Bug 9025] Suggested enhancement: Automatically order module loading according to dependencies