Reorganized how the google call sorts histogram data.