class_docstr: Sort example gallery by title of subsection.
  
  Assumes README.txt exists for all subsections and uses the subsection with
  dashes, '---', as the adornment.
class_docstr_tok: ["Sort","example","gallery","by","title","of","subsection",".","Assumes","README.txt","exists","for","all","subsections","and","uses","the","subsection","with","dashes",",","'","--","-","'",",","as","the","adornment","."]
code: def __init__(self, src_dir):
      self.src_dir = src_dir
      self.regex = re.compile(r"^([\w ]+)\n-", re.MULTILINE)
  
imports: import os
  import re
  import sys
  import warnings
  from datetime import datetime
  from io import StringIO
  from pathlib import Path
  from sklearn.externals._packaging.version import parse
  import sphinx_gallery
  from github_link import make_linkcode_resolve
  from sphinx_gallery.notebook import add_code_cell, add_markdown_cell
  from sphinx_gallery.sorting import ExampleTitleSortKey
  import sklearn
  from sklearn.experimental import enable_iterative_imputer
  from sklearn.experimental import enable_halving_search_cv
  from sklearn.utils.fixes import VisibleDeprecationWarning
label_desc: Use image node_id 1 to create a new SubSectionTitleOrder object  with example: obj = SubSectionTitleOrder(src_dir)