added SortOrderAndStatsMetric; added setters to StatisticsMetric