add sort of module dependencies