sort out the modules of package