**Describe the unexpected behaviour**
Not found column number in block error when specifying ORDER BY that uses a column not mentioned in the SELECT.

**How to reproduce**
```
:) select count() over (order by number + 1) from numbers(10) order by number

Code: 10. DB::Exception: Received from localhost:9000. DB::Exception: Not found column number in block. There are only columns: count() OVER (ORDER BY number + 1 ASC), plus(number, 1)
```

**Expected behavior**
It should work.

{
    ExpressionActionsChain::Step & step = chain.lastStep(columns_after_window);
    for (const auto & expression : syntax->expressions_with_window_function)
    {
        getRootActionsForWindowFunctions(expression->clone(), true, step.actions());
    }
}
void SelectQueryExpressionAnalyzer::appendGroupByModifiers(ActionsDAGPtr & before_aggregation, ExpressionActionsChain & chain, bool )
{
    const auto * select_query = getAggregatingQuery();
    if (!select_query->groupBy() || !(select_query->group_by_with_rollup || select_query->group_by_with_cube))
        return;
    auto source_columns = before_aggregation->getResultColumns();
    ColumnsWithTypeAndName result_columns;
    for (const auto & source_column : source_columns)
    {
        if (source_column.type->canBeInsideNullable())
            result_columns.emplace_back(makeNullableSafe(source_column.type), source_column.name);
        else
            result_columns.push_back(source_column);
    }
    ExpressionActionsChain::Step & step = chain.lastStep(before_aggregation->getNamesAndTypesList());
    step.actions() = ActionsDAG::makeConvertingActions(source_columns, result_columns, ActionsDAG::MatchColumnsMode::Position);