pub fn normalize_sorts( sorts: impl IntoIterator<Item = impl Into<Sort>>, plan: &LogicalPlan, ) -> Result<Vec<Sort>>