Sorting statistic data by key
Sorting values in dictionaries
Add test for validation statistic output