fix: use explicit numeric parsing for bidder number sorting

This commit is contained in:
2026-05-01 13:56:25 -04:00
parent af49c71d72
commit 01a6d78333
@@ -22,7 +22,9 @@
field: 'text', field: 'text',
direction: 'asc', direction: 'asc',
func: function(a, b) { func: function(a, b) {
return a.text.localeCompare(b.text, undefined, {numeric: true, sensitivity: 'base'}); const a_val = a.text.split(' - ')[0];
const b_val = b.text.split(' - ')[0];
return parseInt(a_val, 10) - parseInt(b_val, 10);
} }
}] }]
}); });