title: Knockout JS - Modifying properties of items in observableArray
body: <p>I am trying to update the umber shown in red to reflect the positions of each item in an observableArray when one item has been repositioned. You can see my current code here: <a href="http://jsfiddle.net/BV87N/" rel="nofollow">http://jsfiddle.net/BV87N/</a></p>
  
  <p>It's not quite behaving the way I would expect it to. I have a feeling it's because the items and their properties inside of the array are not observable themselves.</p>
  
  <p>But I'm not quite sure how to get this to work.</p>
  
  <pre><code>   ko.bindingHandlers.sortable.afterMove = function () {
      self.adjustOrder();
  };
  
  self.adjustOrder = function () {
      for (var i = 0, j = self.items().length; i &lt; j; i++) {
          self.items()[i].sortOrder = i;
      };
  };
  </code></pre>