title: Mustache js order by
body: <p>I know that <code>Mustache</code> is a "logic less" template scripting but probably what I'm looking for exist...</p>
  
  <p>Imagine to have a model like this:</p>
  
  <pre><code>var users = [{
      {name: "Lorem", isOk: false},
      {name: "Ipsum", isOk: true},
      {name: "Dolor", isOk: false},
      {name: "Sit", isOk: false},
      {name: "Amet", isOk: true}
  }];
  </code></pre>
  
  <p>When I create the template for users:</p>
  
  <pre><code>{{#users}}
      &lt;p&gt;{{name}}&lt;/p&gt;
  {{/users}}
  </code></pre>
  
  <p>It render everything in the model order.</p>
  
  <p>Is there a chance to load first the <code>isOk: true</code> and after them the others?</p>
  
  <p>I tried with:</p>
  
  <pre><code>{{#users}}
      {{#isOk}}
      &lt;p&gt;{{name}}&lt;/p&gt;
      {{/isOk}}
      {{^isOk}}
      &lt;p&gt;{{name}}&lt;/p&gt;
      {{/isOk}}
  {{/users}}
  </code></pre>
  
  <p>But nothing change...</p>