code: def pytest_collection_modifyitems(session, config, items):
      # Make the order of tests deterministic
      items[:] = sorted(items, key=lambda item: item.location)
  
imports: import pytest
  import chainerx.testing
  from chainerx_tests import cuda_utils
label_desc: Use image node_id 5 for calling a global function with example usage: pytest_collection_modifyitems(session, config, items) without return types