title: Sort NSArray with sortedArrayUsingComparator
body: <p>In <code>Objective-C</code> I can sort an <code>NSArray</code> using this statement:</p>
  
  <pre><code>NSArray *sortedArray = [persons sortedArrayUsingComparator:^NSComparisonResult(Person *p1, Person *p2) {
      return [p1.name compare:p2.name];
  }];
  </code></pre>
  
  <p>I'm unable to reproduce the same statement with <strong>Swift</strong>. All I found was using <code>Array</code>.</p>