code: def natural_sort_key(s, regex=re.compile("([0-9]+)")):
      return [
          int(text) if text.isdigit() else text.lower()
          for text in regex.split(s)
      ]
  
file_path: stable-diffusion-webui/modules/util.py
imports: import os
  import re
  from modules import shared
  from modules.paths_internal import script_path
label_desc: Use image node_id 1 for calling a global function with example usage: natural_sort_key(s, regex) and returns: unknown