risingwave_common::util::sort_util

Function compare_values_in_array

source
fn compare_values_in_array<'a, T>(
    lhs_array: &'a T,
    lhs_idx: usize,
    rhs_array: &'a T,
    rhs_idx: usize,
    order_type: OrderType,
) -> Ordering
where T: Array, <T as Array>::RefItem<'a>: PartialOrd,