docstr: List of default keys used for sorting in the UI.
code: def get_sort_keys(self, path):
      """
      List of default keys used for sorting in the UI.
      """
      pth = Path(path)
      stat = pth.stat()
      return {
          "date_created": int(stat.st_ctime or 0),
          "date_modified": int(stat.st_mtime or 0),
          "name": pth.name.lower(),
          "path": str(pth.parent).lower(),
      }
  
imports: import functools
  import os.path
  import urllib.parse
  from pathlib import Path
  from modules import shared, ui_extra_networks_user_metadata, errors, extra_networks
  from modules.images import read_info_from_image, save_image_with_geninfo
  import gradio
  import json
  import html
  from fastapi.exceptions import HTTPException
  from modules.generation_parameters_copypaste import image_from_url_text
  from modules.ui_components import ToolButton
label_desc: Use image node_id 11 for calling the ExtraNetworksPage obj's underlying member method code with example usage: obj.get_sort_keys(path) and returns: dict