fix: use numeric localeCompare in tomselect for natural bidder sorting

This commit is contained in:
2026-05-01 14:02:03 -04:00
parent 24905c9506
commit 444b9e26db
@@ -20,7 +20,10 @@
controlInput: '<input>',
sortField: [{
field: 'text',
direction: 'asc'
direction: 'asc',
func: function(a, b) {
return a.text.localeCompare(b.text, undefined, {numeric: true, sensitivity: 'base'});
}
}]
});
});