title: Knockout Js: how does the SORT function for an observable array work
body: <p>I want so sort out an observable array with knockout sort method, but according to the documentation two fields are passed. </p>
  
  <pre><code>myObservableArray.sort(function (left, right) { return left.lastName == right.lastName ? 0 : (left.lastName &lt; right.lastName ? -1 : 1) })
  </code></pre>
  
  <p>Where is the left and right parameter gotten from, do I pass them in and if i have an array like this </p>
  
  <pre><code>var dummyArray = [{letter: a, number: 4},{letter: f, number: 3},{letter: t, number: 2},{letter: v, number: 7},{letter: c, number: 9},] 
  </code></pre>
  
  <p>how would i sort this?</p>