changer trigger('sortupdate') to triggerHandler('sortupdate') to avoir event bubbling