class_docstr: Sorts release highlights based on version number.
class_docstr_tok: ["Sorts","release","highlights","based","on","version","number","."]
code: def __call__(self, filename):
      title = super().__call__(filename)
      prefix = "plot_release_highlights_"
  
      # Use title to sort if not a release highlight
      if not str(filename).startswith(prefix):
          return title
  
      major_minor = filename[len(prefix) :].split("_")[:2]
      version_float = float(".".join(major_minor))
  
      # negate to place the newest version highlights first
      return -version_float
  
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 for calling the SKExampleTitleSortKey obj's underlying member method code with example usage: obj.__call__(filename) and returns: unknown, title