presto-main/src/main/java/io/prestosql/sql/planner/SortExpressionExtractor.java/BuildSymbolReferenceFinder/visitSymbolReference
class BuildSymbolReferenceFinder:        @Override
        protected Boolean visitSymbolReference(SymbolReference symbolReference, Void context)
        {
            return buildSymbols.contains(symbolReference.getName());
        }