code: def reorder_decode(hypos):
      outputs = []
      for hypo in hypos:
          idx = int(re.findall("\(None-(\d+)\)$", hypo)[0])
          hypo = re.sub("\(\S+\)$", "", hypo).strip()
          outputs.append((idx, hypo))
      outputs = sorted(outputs)
      return outputs
  
file_path: fairseq/examples/mms/asr/infer/mms_infer.py
imports: import argparse
  import soundfile
  import tempfile
  from pathlib import Path
  import os
  import subprocess
  import sys
  import re
label_desc: Use image node_id 2 for calling a global function with example usage: reorder_decode(hypos) and returns: outputs