code: def _load_schemas(schemas_dir, schema_files):
      """Helper to load all schemas from the schemas directory into one ordered dictionary.
  
      Args:
          conf_dir (str):  The relative path of the configuration directory
          schemas_dir (bool): The realtive path of the schemas directory
  
      Returns:
          OrderedDict: The sorted schema dictionary.
      """
      schemas = dict()
      for schema in schema_files:
          schemas_from_file = _load_json_file(
              os.path.join(schemas_dir, schema), True
          )
          dup_schema = set(schemas).intersection(schemas_from_file)
          if dup_schema:
              LOGGER.warning(
                  "Duplicate schema detected %s. This may result in undefined behavior.",
                  ", ".join(dup_schema),
              )
          schemas.update(schemas_from_file)
      return OrderedDict(
          sorted(schemas.items(), key=SchemaSorter().sort_key)
      )
  
imports: from collections import defaultdict, OrderedDict
  import json
  import os
  import re
  from streamalert.shared import CLUSTERED_FUNCTIONS
  from streamalert.shared.exceptions import ConfigError
  from streamalert.shared.logger import get_logger
label_desc: Use image node_id 8 for calling a global function with example usage: _load_schemas(schemas_dir, schema_files) and returns: OrderedDict