class_docstr: Specifies whether a sorted list of experiments should be in ascending or
  descending order.
  
  This class is deprecated in favor of ``OrderBy`` and will be removed in a future
  release.
class_docstr_tok: ["Specifies","whether","a","sorted","list","of","experiments","should","be","in","ascending","or","descending","order",".","This","class","is","deprecated","in","favor","of","``","OrderBy","``","and","will","be","removed","in","a","future","release","."]
code: def _to_bindings(self) -> bindings.v1OrderBy:
      return bindings.v1OrderBy(self.value)
  
imports: import base64
  import enum
  import pathlib
  import sys
  import time
  import warnings
  from typing import Any, Dict, Iterator, List, Optional, Set, Union
  from determined.common import api
  from determined.common.api import bindings
  from determined.common.experimental import checkpoint, trial, workspace
  from determined.common.experimental._util import OrderBy
label_desc: Use image node_id 2 for calling the ExperimentOrderBy obj's underlying member method code with example usage: obj._to_bindings() and returns: bindings