Block/Post/PostList/Toolbar.php
public function setDefaultOrder($field)
    {
        $this->loadAvailableOrders();
        if (isset($this->availableOrder[$field])) {
            $this->orderField = $field;
        }

        return $this;
    }
public function setDefaultOrder($field)
    {
        $this->loadAvailableOrders();
        if (isset($this->availableOrder[$field])) {
            $this->orderField = $field;
        }

        return $this;
    }
public function setDefaultOrder ( $ field ) { $ this -> loadAvailableOrders ( ) ; if ( isset ( $ this -> availableOrder [ $ field ] ) ) { $ this -> orderField = $ field ; } return $ this ; }
Set default Order field.

@param string $field

@return $this
Set default Order field .