code: def _sort_results_objFunc(self, objective_function):
      best_score = -np.inf
      best_para = None
      search_data = None
  
      search_data_list = []
  
      for results_ in self.results_list:
          nth_process = results_["nth_process"]
  
          opt = self.opt_pros[nth_process]
          objective_function_ = opt.objective_function
          search_space_ = opt.s_space()
          params = list(search_space_.keys())
  
          if objective_function_ != objective_function:
              continue
  
          if results_["best_score"] > best_score:
              best_score = results_["best_score"]
              best_para = results_["best_para"]
  
          search_data = results_["search_data"]
          search_data["eval_times"] = results_["eval_times"]
          search_data["iter_times"] = results_["iter_times"]
  
          search_data_list.append(search_data)
  
      if len(search_data_list) > 0:
          search_data = pd.concat(search_data_list)
  
      self.objFunc2results[objective_function] = {
          "best_para": best_para,
          "best_score": best_score,
          "search_data": search_data,
          "params": params,
      }
  
file_path: Hyperactive/hyperactive/results.py
imports: import numpy
  import pandas
label_desc: Use image node_id 2 for calling the Results obj's underlying member method code with example usage: obj._sort_results_objFunc(objective_function) without return types