code: def sort_excel(in_csv, out_xlsx):
      # read csv with two headers then convert it to xlsx,
      # sort it by category name & dataset name
      df = pd.read_csv(in_csv)
      df_sorted = df.iloc[1:].sort_values(by=["Category", "Dataset"])
      df_sort = pd.concat([df.iloc[:1], df_sorted])
      df_sort.to_excel(out_xlsx, index=False)
  
file_path: mmdetection/projects/RF100-Benchmark/scripts/log_extract.py
imports: import argparse
  import csv
  import json
  import os
  import re
  import numpy
  import pandas
  from openpyxl import load_workbook
  from openpyxl.styles import Alignment
label_desc: Use image node_id 4 for calling a global function with example usage: sort_excel(in_csv, out_xlsx) without return types