code: def test_sort_viewer_init_all(self):
      for sort in Sort:
          viewer = PerspectiveViewer(sort=[["a", sort]])
          assert viewer.sort == [["a", sort.value]]
  
file_path: perspective/python/perspective/perspective/tests/core/test_sort.py
imports: from pytest import raises
  from perspective import PerspectiveError, PerspectiveViewer, PerspectiveWidget, Sort
label_desc: Use image node_id 9 for calling the TestSort obj's underlying member method code with example usage: obj.test_sort_viewer_init_all() without return types