code: def get_loaded_modules(modules):
      '''load modules and order it by ordering key'''
  
      _modules = []
      for mod in modules:
          mod_cfg = get_conf_from_module(mod)
  
          _modules.append((mod, mod_cfg,))
  
      _modules = sorted(_modules, key=lambda m: m[1].get('ordering'))
  
      return _modulef get_loaded_modules(modules):
      '''load modules and order it by ordering key'''
  
      _modules = []
      for mod in modules:
          mod_cfg = get_conf_from_module(mod)
  
          _modules.append((mod, mod_cfg,))
  
      _modules = sorted(_modules, key=lambda m: m[1].get('ordering'))
  
      return _modules
docs: load modules and order it by ordering key