code: def fixed_indices(self):
          
          config = self.overall_config.copy()
  
          used_indices = sorted(self.index_manager.numbers)
          not_used_indices = [e for e in range(MAX_PLAYERS) if e not in used_indices]
          order = used_indices + not_used_indices
          header = config[PARTICIPANT_CONFIGURATION_HEADER]
          for name, config_value in header.values.items():
              old_values = list(config_value.value)
              for i in range(MAX_PLAYERS):
                  config_value.set_value(old_values[order[i]], index=i)
          return config
docs: Agents in the GUI might not have following overall indices,
          thereby a file saved through the GUI would cause other bots to start than the GUI when ran
          :return: CustomConfig instance, copy of the overall config which has the indices sorted out