src/Paginator.php
public function orderBy($column, $order = Order::ASC)
    {
        $this->orders[] = [$column, $order];
        return $this;
    }
public function orderBy($column, $order = Order::ASC)
    {
        $this->orders[] = [$column, $order];
        return $this;
    }
public function orderBy ( $ column , $ order = Order :: ASC ) { $ this -> orders [ ] = [ $ column , $ order ] ; return $ this ; }
Add cursor parameter name for ORDER BY statement.

IMPORTANT: Last parameter MUST be a primary key

e.g.   $factory->orderBy('created_at')->orderBy('id') // <--- PRIMARY KEY

@param  string      $column
@param  null|string $order
@return $this
Add cursor parameter name for ORDER BY statement .