use SortOrder in sorters always

This commit is contained in:
Jussi Saurio 2025-04-21 14:58:50 +03:00
parent f53448ae75
commit 3798b4aa8b
12 changed files with 52 additions and 110 deletions

View file

@ -2693,14 +2693,6 @@ pub fn op_sorter_open(
else {
unreachable!("unexpected Insn {:?}", insn)
};
let order = order
.get_values()
.iter()
.map(|v| match v {
OwnedValue::Integer(i) => *i == 0,
_ => unreachable!(),
})
.collect();
let cursor = Sorter::new(order);
let mut cursors = state.cursors.borrow_mut();
cursors