Sort the results of the DBM solver.