code: def order_qc_dir(dirnames):
      
      return sorted(
          dirnames, key=lambda dn: time.strptime(
              os.path.basename(dn.rstrip("/"))[14:],
              "%Y-%m-%d_%H.%M.%S",
          )
      )
docs: Order the QC directory names according to their date.
  
      :param dirnames: the list of directories to merge data from.
  
      :type dirnames: list
  
      :returns: the sorted list of directories
      :rtype: list