Sort modules in test.