title: Binary operator '>' cannot be applied to two 'String?!' operands
body: <p>So I have a project, that builds fine. but hen I want to Archive it it throws this error on this line of code:</p>
  
  <pre><code>let pred = NSPredicate(format: "%K in %@", "categoryID", selectedCategoryIDs!)
  let selectedAlmanacEntries = almanacEntries.filter { pred.evaluate(with: $0) }.sorted(by: { ($0 as AnyObject).title &gt; ($1 as AnyObject).title })
  </code></pre>
  
  <p>this hasn't been an issue before (Earlier releases).
  Have tried restarting Xcode and cleaning the project before.
  Any hints appreciated.</p>
  
  <p>(Xcode 8, Swift 3)</p>