Function mz_expr::relation::func::order_aggregate_datums_with_rank

source ยท
fn order_aggregate_datums_with_rank<'a, I>(
    datums: I,
    order_by: &[ColumnOrder],
) -> impl Iterator<Item = (Datum<'a>, Row)>
where I: IntoIterator<Item = Datum<'a>>,
Expand description

Assuming datums is a List, sort them by the 2nd through Nth elements corresponding to order_by, then return the 1st element and computed order by expression.