I have a computed array like this,
self.weapons = ko.observableArray(
[]
);
self.wings = ko.observableArray(
[]
);
self.itemList = ko.computed( function()
{
return self.weapons().concat(self.wings());
}
},
this );
i would like to sort this array.
i can sort ko.observableArray with no problem.
issue here is i think, ko.computed is computes back again after the sorting is done.
also: is there a better way concatenating multiple observableArrays together?
Thank you.