Gio.ListStore.insert_sorted's compare_func isn't handled correctly
Currently if you use a
store.insert_sorted(object, (a, b) => {
console.log(a)
return 1
})
both the values of a & b are not defined, nothing is passed to the callback.
similar issue in pygobject pygobject#130 (closed) reproducible in gjs 1.65.4
Edited by Bilal Elmoussaoui