code: def key_cmp(obj: Tuple[AimObjectKey, AimObject]):
      """Comparator for `(key, value)` pairs w.r.t. their hashes.
      This defines an (meaningless) order but ensures a deterministic one.
      """
      key, _ = obj
      return hash_auto(key)
  
file_path: aim/aim/storage/hashing/hashing.py
imports: import hashlib
  from aim.storage.encoding import encode_int64, decode_int64
  from aim.storage.hashing import c_hash
  from aim.storage.types import AimObject, AimObjectArray, AimObjectKey, AimObjectDict, NoneType
  from typing import Tuple, Union
label_desc: Use image node_id 8 for calling a global function with example usage: key_cmp(obj) and returns: hash_auto