Block/Post/PostList/Toolbar.php
public function removeOrderFromAvailableOrders($order)
    {
        $this->loadAvailableOrders();

        if (isset($this->availableOrder[$order])) {
            unset($this->availableOrder[$order]);
        }

        return $this;
    }
public function removeOrderFromAvailableOrders($order)
    {
        $this->loadAvailableOrders();

        if (isset($this->availableOrder[$order])) {
            unset($this->availableOrder[$order]);
        }

        return $this;
    }
public function removeOrderFromAvailableOrders ( $ order ) { $ this -> loadAvailableOrders ( ) ; if ( isset ( $ this -> availableOrder [ $ order ] ) ) { unset ( $ this -> availableOrder [ $ order ] ) ; } return $ this ; }
Remove order from available orders if exists.

@param string $order
@return $this
Remove order from available orders if exists .