pub(super) fn remove_output_sort(plan: LogicalPlan) -> LogicalPlanExpand description
Strips the output sort a PromQL plan ends with, keeping the plan schema intact.
Only the sort the caller would observe is removed: recursion stops at any other node, so ordering consumed by windows, limits or PromQL extension nodes stays.