code: def _make_pretty_summary(dataset):
      set_fields = ["id", "sample_id", "filepath", "frame_number"]
      all_fields = dataset._sample_doc_cls._fields_ordered
      pretty_fields = set_fields + [
          f for f in all_fields if f not in set_fields
      ]
      dataset._sample_doc_cls._fields_ordered = tuple(pretty_fields)
  
imports: from collections import defaultdict
  from copy import deepcopy
  import logging
  import os
  from bson import ObjectId
  from pymongo import UpdateOne
  import eta.core.utils
  import fiftyone
  import fiftyone.core.dataset
  import fiftyone.core.fields
  import fiftyone.core.media
  import fiftyone.core.sample
  import fiftyone.core.odm
  import fiftyone.core.odm.sample
  import fiftyone.core.utils
  import fiftyone.core.validation
  import fiftyone.core.view
label_desc: Use image node_id 2 for calling a global function with example usage: _make_pretty_summary(dataset) without return types