fn rewrite_sort_expr_for_union(exprs: Vec<SortExpr>) -> Result<Vec<SortExpr>>
Rewrite sort expressions that have a UNION plan as their input to remove the table reference.