code: def sorted_errors(self):
          
          for i, (name, mae) in enumerate(
                  sorted(self.mae_dict.items(), key=lambda x: x[1])):
              yield(i + 1, name, self.mse_dict[name], self.mae_dict[name],)
docs: Generator for (rank, name, MSE, MAE) sorted by increasing MAE