public function setSort($sort)
    {
        $this->reordered = $this->sort !== $sort;
        $this->sort = $sort;

        return $this;
    }
public function setSort($sort)
    {
        $this->reordered = $this->sort !== $sort;
        $this->sort = $sort;

        return $this;
    }
public function setSort ( $ sort ) { $ this -> reordered = $ this -> sort !== $ sort ; $ this -> sort = $ sort ; return $ this ; }
Set sort.

@param int $sort Sort the value to set

@return $this
Set sort .