Implemented sorting of reports by dimensions/metrics.