presto-main/src/main/java/io/prestosql/sql/analyzer/Analysis.java/Analysis/markRedundantOrderBy
class Analysis:    public void markRedundantOrderBy(OrderBy orderBy)
    {
        redundantOrderBy.add(NodeRef.of(orderBy));
    }