pub fn ensure_sorting(
requirements: PlanWithCorrespondingSort,
) -> Result<Transformed<PlanWithCorrespondingSort>>
Expand description
This function enforces sorting requirements and makes optimizations without violating these requirements whenever possible.