title: Titanium return last three inserted collections
body: <p>i just want to know hot to display only last three collections inserted in titanium ? </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>&lt;View dataCollection="competence" dataFilter="filterFunction" height="Ti.UI.SIZE" layout="vertical" backgroundColor="gray" &gt;
      &lt;Label backgroundColor='red' height="Ti.UI.SIZE" text="{date_debut}"/&gt;
      &lt;Label backgroundColor='white' height="Ti.UI.SIZE" text="{date_fin}"/&gt;
  &lt;/View&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>This display collections by 'ASC' from id order, my aim is only to show Three last elements.</p>
  
  <p>I tried with dataFilter :</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>function filterFunction(collection){
   // Underscore last method not working 
   return _.last(collection, 3);
   
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>Could you help me please ? thank you.</p>