code: def order_keys(logger, method_name, event_dict):
      return collections.OrderedDict(
          sorted(
              event_dict.items(),
              key=lambda item: (item[0] != "event", item),
          )
      )
  
file_path: baal/baal/utils/log_configuration.py
imports: import collections
  import inspect
  import os
  import threading
  import structlog
  from structlog.dev import ConsoleRenderer
  from structlog.processors import StackInfoRenderer, TimeStamper, format_exc_info
  from structlog.stdlib import add_log_level
label_desc: Use image node_id 6 for calling a global function with example usage: order_keys(logger, method_name, event_dict) and returns: collections