code: def test_Sortable(self) -> None:
      generator_run1 = GeneratorRun(
          arms=self.arms,
          # pyre-fixme[6]: For 2nd param expected `Optional[List[float]]` but got
          #  `List[int]`.
          weights=self.weights,
      )
      generator_run2 = GeneratorRun(
          arms=self.arms,
          # pyre-fixme[6]: For 2nd param expected `Optional[List[float]]` but got
          #  `List[int]`.
          weights=self.weights,
      )
      generator_run1.index = 1
      generator_run2.index = 2
      self.assertTrue(generator_run1 < generator_run2)
  
file_path: Ax/ax/core/tests/test_generator_run.py
imports: from ax.core.arm import Arm
  from ax.core.generator_run import GeneratorRun
  from ax.exceptions.core import UnsupportedError
  from ax.utils.common.testutils import TestCase
  from ax.utils.testing.core_stubs import get_arms, get_model_predictions, get_model_predictions_per_arm, get_optimization_config, get_search_space
label_desc: Use image node_id 11 for calling the GeneratorRunTest obj's underlying member method code with example usage: obj.test_Sortable() without return types