code: def test_operator_coco_reader_custom_order():
      custom_orders = [
          None,  # natural order
          [0, 2, 4, 6, 1, 3, 5, 7],  # altered order
          [0, 1, 2, 3, 2, 1, 4, 1, 5, 2, 6, 7],  # with repetitions
      ]
  
      for order in custom_orders:
          yield check_operator_coco_reader_custom_order, order, False
      yield check_operator_coco_reader_custom_order, None, True
  
imports: import numpy
  import nvidia.dali.fn
  import os
  import tempfile
  import json
  from nvidia.dali import Pipeline, pipeline_def
  from nose_utils import raises
  from nose2.tools import params
  from test_utils import compare_pipelines, get_dali_extra_path
label_desc: Use image node_id 2 for calling a global function with example usage: test_operator_coco_reader_custom_order() without return types