code: def test_sorted(self):
      self.assertListEqual(py_builtins.sorted_([2, 3, 1]), [1, 2, 3])
      self.assertListEqual(
          py_builtins.sorted_([2, 3, 1], key=lambda x: -x), [3, 2, 1]
      )
      self.assertListEqual(
          py_builtins.sorted_([2, 3, 1], reverse=True), [3, 2, 1]
      )
      self.assertListEqual(
          py_builtins.sorted_(
              [2, 3, 1], key=lambda x: -x, reverse=True
          ),
          [1, 2, 3],
      )
      self.assertEqual(
          py_builtins.sorted_([[4, 3], [2, 1]], key=lambda x: sum(x)),
          [[2, 1], [4, 3]],
      )
  
imports: import unittest
  from nvidia.dali._autograph.core import converter
  from nvidia.dali._autograph.core import function_wrappers
  from nvidia.dali._autograph.operators import py_builtins
label_desc: Use image node_id 30 for calling the PyBuiltinsTest obj's underlying member method code with example usage: obj.test_sorted() without return types