code: def test_ordereddict(self):
      od = collections.OrderedDict(a=1, b=2, c=3, d=4)
      od.move_to_end("b")
      self.assertEqual(
          self.dumps(od), '{"a": 1, "c": 3, "d": 4, "b": 2}'
      )
      self.assertEqual(
          self.dumps(od, sort_keys=True),
          '{"a": 1, "b": 2, "c": 3, "d": 4}',
      )
  
file_path: cpython/Lib/test/test_json/test_default.py
imports: import collections
  from test.test_json import PyTest, CTest
label_desc: Use image node_id 2 for calling the TestDefault obj's underlying member method code with example usage: obj.test_ordereddict() without return types