Your IsDirty
property defined with this.IsDirty = new ko.observable(false);
so it is knockout observable.
Observables are functions and you need set their values with calling them with the value as the argument what you want to set:
ko.bindingHandlers.sortable.afterMove = function(args) {
args.item.IsDirty(true);
};
Demo JSFiddle