code: def test_sort_widget_load(self):
      data = {"a": [1, 2, 3], "b": ["a", "b", "c"]}
      widget = PerspectiveWidget(data, sort=[["a", Sort.DESC]])
      assert widget.sort == [["a", "desc"]]
  
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 1 for calling the TestSort obj's underlying member method code with example usage: obj.test_sort_widget_load() without return types