Block/Post/PostList/Toolbar.php
public function addOrderToAvailableOrders($order, $value)
    {
        $this->loadAvailableOrders();
        $this->availableOrder[$order] = $value;

        return $this;
    }
public function addOrderToAvailableOrders($order, $value)
    {
        $this->loadAvailableOrders();
        $this->availableOrder[$order] = $value;

        return $this;
    }
public function addOrderToAvailableOrders ( $ order , $ value ) { $ this -> loadAvailableOrders ( ) ; $ this -> availableOrder [ $ order ] = $ value ; return $ this ; }
Add order to available orders.

@param string $order
@param string $value
@return $this
Add order to available orders .