The row order of every node of the query (PLAN ยง11.4), from its inputs' through QueryNode.outputOrder: undefined when it can't be known (an Unknown node, or a node fed by one). The emitter writes a sort where an order is used, and the Sort warning reads it, so the two never disagree.