Reorder Requires so that we do not depend of Export bugs.
The general idea is to first import/export modules which are further than the current one, and then import/export modules which are close dependencies.
This is an alternative fix for @maximedenes's bug he raised in PR !312 (closed).