code: def type_to_order(obj_type):
      return ObjectOrder._order_as_dict.get(obj_type)
  
imports: import json
  import os
  import re
  import time
  from collections import namedtuple
  from itertools import chain
  from metaflow.exception import MetaflowInternalError, MetaflowTaggingError
  from metaflow.tagging_util import validate_tag
  from metaflow.util import get_username, resolve_identity_as_tuple, is_stringish
label_desc: Use image node_id 2 for calling the ObjectOrder obj's underlying member method code with example usage: obj.type_to_order(obj_type) and returns: ObjectOrder