fix order of histograms