class_docstr: Test of the MultiInterface.
class_docstr_tok: ["Test","of","the","MultiInterface","."]
code: def test_sort_by_value(self):
      path = Path(
          [
              {"x": [1, 2, 3, 4, 5], "y": [0, 0, 1, 1, 2], "value": 1},
              {"x": [5, 4, 3, 2, 1], "y": [2, 2, 1, 1, 0], "value": 0},
          ],
          vdims="value",
          datatype=[self.datatype],
      )
      self.assertIs(path.interface, self.interface)
      sorted = Path(
          [
              {"x": [5, 4, 3, 2, 1], "y": [2, 2, 1, 1, 0], "value": 0},
              {"x": [1, 2, 3, 4, 5], "y": [0, 0, 1, 1, 2], "value": 1},
          ],
          vdims="value",
      )
      self.assertEqual(path.sort("value"), sorted)
  
imports: import logging
  import numpy
  import pandas
  from param import get_logger
  from holoviews.core.data import Dataset, MultiInterface
  from holoviews.element import Path, Points, Polygons
  from holoviews.element.comparison import ComparisonTestCase
label_desc: Use image node_id 55 for calling the GeomTests obj's underlying member method code with example usage: obj.test_sort_by_value() without return types