Fixed sorting of some modules.