arrow_ord::ord

Function child_opts

Source
fn child_opts(opts: SortOptions) -> SortOptions
Expand description

If parent sort order is descending we need to invert the value of nulls_first so that when the parent is sorted based on the produced ranks, nulls are still ordered correctly