Sort modules for generated .mllib files.