public function orderBy($name, $order = 'asc', $projection = null)
    {
        $order = strtolower($order) == 'desc' ? SORT_DESC : SORT_ASC;
        $this->orderBy[] = array($name, $order, $projection);

        return $this;
    }
public function orderBy($name, $order = 'asc', $projection = null)
    {
        $order = strtolower($order) == 'desc' ? SORT_DESC : SORT_ASC;
        $this->orderBy[] = array($name, $order, $projection);

        return $this;
    }
public function orderBy ( $ name , $ order = 'asc' , $ projection = null ) { $ order = strtolower ( $ order ) == 'desc' ? SORT_DESC : SORT_ASC ; $ this -> orderBy [ ] = array ( $ name , $ order , $ projection ) ; return $ this ; }
Order the matches.

@param string $name
@param string $order
@param string $projection

@return Scrapher
Order the matches .