code: def shuffle_key_rows_by_mt(mt_path):
      mt = hl.read_matrix_table(mt_path)
      mt = mt.annotate_rows(
          reversed_position_locus=hl.struct(
              contig=mt.locus.contig, position=-mt.locus.position
          )
      )
      mt = mt.key_rows_by(mt.reversed_position_locus)
      mt._force_count_rows()
  
file_path: hail/benchmark/python/benchmark_hail/run/shuffle_benchmarks.py
imports: import hail
  from .resources import *
  from .utils import benchmark
label_desc: Use image node_id 1 for calling a global function with example usage: shuffle_key_rows_by_mt(mt_path) without return types