Sort submodules a bit.