Aggregations: Do not sort histogram buckets on shards.

Histogram do not perform any selection of the buckets at the shard level so it
is useless to sort buckets there given that we are going to sort again on the
coordinating node once buckets with the same key have been merged.
You could change this to iter.hasNext() and move the firstBucket local into the else?