code: def lineno_sort_key(entry):
      # Sort in ascending order, with unspecified entries at the end
      if "lineno" in entry:
          return 0, entry["lineno"]
      else:
          return 1, 0
  
file_path: catboost/contrib/tools/python3/src/Lib/mailcap.py
imports: import os
  import warnings
  import re
label_desc: Use image node_id 1 for calling a global function with example usage: lineno_sort_key(entry) and returns: int,  entry, int,  int