code: def alphanumeric_sort(s, _nsre=re.compile("([0-9]+)")):
      """Sort alphanumeric string."""
      return [
          int(text) if text.isdigit() else text.lower()
          for text in re.split(_nsre, s)
      ]
  
file_path: lmfit-py/lmfit/printfuncs.py
imports: from math import log10
  import re
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: alphanumeric_sort(s, _nsre) and returns: unknown