code: def test_docdict_order():
      """Test that docdict is alphabetical."""
      from mne.utils.docs import docdict
  
      # read the file as text, and get entries via regex
      docs_path = Path(__file__).parents[1] / "utils" / "docs.py"
      assert docs_path.is_file(), docs_path
      with open(docs_path, encoding="UTF-8") as fid:
          docs = fid.read()
      entries = re.findall(
          r'docdict\[(?:\n    )?["\'](.+)["\']\n?\] = ', docs
      )
      # test length & uniqueness
      assert len(docdict) == len(entries)
      # test order
      assert sorted(entries) == entries
  
file_path: mne-python/mne/tests/test_docstring_parameters.py
imports: import importlib
  import inspect
  import re
  from pathlib import Path
  from pkgutil import walk_packages
  import pytest
  import mne
  from mne.utils import _pl, _record_warnings
label_desc: Use image node_id 6 for calling a global function with example usage: test_docdict_order() without return types