sort-on

a reporter that takes a set of agents and a reporter as input and reports a new list of the same agents sorted by the value of calling that reporter with each agent