src/Aggregation/Bucketing/HistogramAggregation.php
public function setOrder($mode, $direction = self::DIRECTION_ASC)
    {
        $this->orderMode = $mode;
        $this->orderDirection = $direction;
    }
public function setOrder($mode, $direction = self::DIRECTION_ASC)
    {
        $this->orderMode = $mode;
        $this->orderDirection = $direction;
    }
public function setOrder ( $ mode , $ direction = self :: DIRECTION_ASC ) { $ this -> orderMode = $ mode ; $ this -> orderDirection = $ direction ; }
Sets buckets ordering.

@param string $mode
@param string $direction
Sets buckets ordering .