title: OrderBy boolean value with AngularJS ng-repeat
body: <p>I'd like to be able to sort by whether a variable is true or false.</p>
  
  <p>Let's say we have a variable like so:</p>
  
  <pre><code>groups = {
      { name: 'first', value: true },
      { name: 'second', value: false },
      { name: 'third', value: true },
      { name: 'fourth', value: false }
  }
  </code></pre>
  
  <p>And we can loop through it like so:</p>
  
  <pre><code>&lt;div ng-repeat="group in groups"&gt;
      {{group.name}} {{group.value}}
  &lt;/div&gt;
  </code></pre>
  
  <p>Which will give you the following:  </p>
  
  <pre><code>first true
  second false
  third true
  fourth false
  </code></pre>
  
  <p>But if I wanted to <em>sort by a boolean value</em> then I could do this:</p>
  
  <pre><code>&lt;div ng-repeat="group in groups | filter:{value:true}"&gt;
      {{group.name}} {{group.value}}
  &lt;/div&gt;
  &lt;div ng-repeat="group in groups | filter:{value:false}"&gt;
      {{group.name}} {{group.value}}
  &lt;/div&gt;
  </code></pre>
  
  <p>Which would give me the following output (which I want):</p>
  
  <pre><code>first true    
  third true
  second false
  fourth false
  </code></pre>
  
  <p>Is there a way to do this using <code>orderBy</code> or <code>filter</code> in a single <code>ng-repeat</code>?</p>