private List<SortOrder> resolveSortOrders(List<SortOrder> ordering, LogicalPlan plan) {
        return mapToList(ordering, order -> {
            return (SortOrder) order.transformUp(e -> {
                if (e instanceof UnresolvedAttribute) {
                    NamedExpression resolved = plan.resolve(((UnresolvedAttribute) e).name(), resolver);
                    if (resolved != null) {
                        return resolved;
                    }
                }
                return e;
            });
        });
    }
Returns true if `exprs` contains a [[Star]].
indexr-query-opt/src/main/java/io/indexr/query/Analyzer.java