Added ordering to the aggregator