order first and secondaggregation variable to fix barchart (OS aggregator returns an object that contains an array with the aggregation for the different years. The order of the array seems to be random, so sorting was needed.