docstr: Sets the path sorting algorithm. If `forward`, sort paths based
  on dimension categories from left to right. If `backward`, sort
  paths based on dimensions categories from right to left.
  
  The 'sortpaths' property is an enumeration that may be specified as:
    - One of the following enumeration values:
          ['forward', 'backward']
  
  Returns
  -------
  Any
docstr_tok: ["Sets","the","path","sorting","algorithm",".","If","`","forward","`",",","sort","paths","based","on","dimension","categories","from","left","to","right",".","If","`","backward","`",",","sort","paths","based","on","dimensions","categories","from","right","to","left",".","The","'sortpaths","'","property","is","an","enumeration","that","may","be","specified","as",":","-","One","of","the","following","enumeration","values",":","[","'forward","'",",","'backward","'","]","Returns","--","--","--","-","Any"]
code: def sortpaths(self):
      """
      Sets the path sorting algorithm. If `forward`, sort paths based
      on dimension categories from left to right. If `backward`, sort
      paths based on dimensions categories from right to left.
  
      The 'sortpaths' property is an enumeration that may be specified as:
        - One of the following enumeration values:
              ['forward', 'backward']
  
      Returns
      -------
      Any
      """
      return self["sortpaths"]
  
imports: from plotly.basedatatypes import BaseTraceType
  import copy
label_desc: Use image node_id 31 for calling the Parcats obj's underlying member method code with example usage: obj.sortpaths() and returns: self