Changed the return value of module sorting to return the module path and the module object, contrary to just returning the module object