code: def testVariadicSortReverse(self):
      shape = (100,)
      for key_type in self._supported_key_types():
          x = self._shuffled_arange(shape, key_type)
          expected = np.sort(x, axis=0)[::-1]
  
          @function.Defun(key_type, key_type)
          def compare_gt(x1, x2):
              return x1 > x2
  
          def wrap_sort(x):
              return xla.variadic_sort(
                  [x],
                  dimension=0,
                  is_stable=False,
                  comparator=compare_gt,
              )
  
          self._assertOpOutputMatchesExpected(
              wrap_sort, [x], expected=[expected]
          )
  
imports: import unittest
  from absl.testing import parameterized
  import numpy
  from tensorflow.compiler.tests import xla_test
  from tensorflow.compiler.tf2xla.python import xla
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import function
  from tensorflow.python.framework import tensor
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import nn_ops
  from tensorflow.python.ops import sort_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 7 for calling the XlaSortOpTest obj's underlying member method code with example usage: obj.testVariadicSortReverse() and returns: unknown, xla