Fixed histogram sort order.