code: def remove_duplicates_sort(reference_list, compare_list):
      seq_timing = []
      for sub in reference_list:
          for pair in sub:
              seq_timing.append(pair)
      res = []
      # Removing duplicates in the list by comparing
      for i in compare_list:
          res.append(duplicates(compare_list, i))
      # Sort it by using the ordered dictionary
      unq_lst = OrderedDict()
      for e in res:
          unq_lst.setdefault(frozenset(e), []).append(e)
      unique_list = [list(x) for x in unq_lst]
      return unique_list, seq_timing
  
file_path: speechbrain/recipes/LibriParty/VAD/libriparty_prepare.py
imports: import numpy
  import pandas
  import json
  import logging
  from collections import OrderedDict
label_desc: Use image node_id 8 for calling a global function with example usage: remove_duplicates_sort(reference_list, compare_list) and returns: unique_list,  seq_timing