code: def _run_cmp(x, y, sort):
      for attr in sort:
          attr_cmp = _run_attr_cmp(x, y, attr)
          if attr_cmp != 0:
              return attr_cmp
      return 0
  
imports: import errno
  import functools
  import logging
  import os
  import shutil
  import tempfile
  from guild import config
  from guild import run
  from guild import util
label_desc: Use image node_id 22 for calling a global function with example usage: _run_cmp(x, y, sort) and returns: int, attr_cmp