public function orderBy(string $axisName, string $direction)
    {
        $axis = $this->structure->getAxis($axisName);

        $this->orderings[] = new AxisOrdering($axis, $direction);

        return $this;
    }
public function orderBy(string $axisName, string $direction)
    {
        $axis = $this->structure->getAxis($axisName);

        $this->orderings[] = new AxisOrdering($axis, $direction);

        return $this;
    }
public function orderBy ( string $ axisName , string $ direction ) { $ axis = $ this -> structure -> getAxis ( $ axisName ) ; $ this -> orderings [ ] = new AxisOrdering ( $ axis , $ direction ) ; return $ this ; }
Adds an ordering

@param string $axisName
@param string $direction

@return static
Adds an ordering