title: Sort a FormArray by Boolean property
body: <p>I have a FormArray which I push with a formgroup. I want to sort this FormArray using isAM attribute (isAM is a Boolean), so that when displaying the ones having isAM true are displayed first</p>
  <pre><code>let identifiersControl: FormArray = &lt;FormArray&gt;this.editOrganizationForm.controls['identifiers'];
  
  organization.identifiers.forEach(identifier =&gt; {
     identifiersControl.push(this.fb.group({
           typeIdentifier: this.fb.group({ id: identifier.typeIdentifier.id }),
           numIdentifier: identifier.numIdentifier,
           isAM: [identifier.isAM]
     }))
  }
  </code></pre>