To make it so that you can change the settings is by using
setTimeout(() => { // timeout is important
$(".menu-item-list").each(function() {
let instance = Sortable.get(this); // Get existing Sortable instance
if (instance) {
// Apply the updated filter setting
instance.option("multiDrag", true);
instance.option("selectedClass", "selected");
instance.option("fallbackTolerance", 3);
}
});
}, 500);