code: def test_hash_files_or_dirs_unsorted_input_list():
      with tempfile.NamedTemporaryFile() as tmp1:
          tmp1.write("hashme".encode())
          with tempfile.NamedTemporaryFile() as tmp2:
              tmp2.write("hashme".encode())
              hash1 = hash_files_or_dirs([tmp1.name, tmp2.name])
              hash2 = hash_files_or_dirs([tmp2.name, tmp1.name])
              assert hash1 == hash2
  
imports: from __future__ import absolute_import
  import tempfile
  from sagemaker.workflow.pipeline_context import _PipelineConfig
  from sagemaker.workflow.pipeline_definition_config import PipelineDefinitionConfig
  from sagemaker.workflow.utilities import hash_file, hash_files_or_dirs, trim_request_dict, _collect_parameters
  from pathlib import Path
  import unittest
label_desc: Use image node_id 8 for calling a global function with example usage: test_hash_files_or_dirs_unsorted_input_list() without return types