Sort modules in module selection.