code: def folder_explicit_order():
      srcdir = os.path.abspath(os.path.dirname(__file__))
      examples_dir = os.path.join(srcdir, "..", "examples")
  
      f_example_desc = Path(examples_dir, "_valid_examples.toml")
      if not f_example_desc.exists():
          msg = f"No valid examples description file found in {examples_dir}"
          msg += "(e.g '_valid_examples.toml')"
          abort(msg)
  
      with open(f_example_desc, "rb") as fobj:
          try:
              desc_examples = tomllib.load(fobj)
          except Exception as e:
              msg = f"Error Loading examples description file: {e}.\n\n"
              msg += "Please check the file format."
              abort(msg)
  
      if "main" not in desc_examples.keys():
          msg = "No main section found in examples description file"
          abort(msg)
  
      try:
          folder_list = sorted(
              [
                  examplesConfig(folder_name=k.lower(), **v)
                  for k, v in desc_examples.items()
              ]
          )
      except Exception as e:
          msg = f"Error parsing examples description file: {e}.\n\n"
          msg += "Please check the file format."
          abort(msg)
  
      return [f.folder_name for f in folder_list if f.enable]
  
file_path: dipy/doc/sphinxext/prepare_gallery.py
imports: import fnmatch
  import sys
  import os
  import shutil
  from os.path import join
  from dataclasses import dataclass, field
  from pathlib import Path
  from sphinx.util import logging
label_desc: Use image node_id 4 for calling a global function with example usage: folder_explicit_order() and returns: unknown