     fileprivate func setupFetchedResultsController(with dataStore: MWKDataStore) {
         let articleRequest = WMFArticle.fetchRequest()
         let basePredicate = NSPredicate(format: "savedDate != NULL")
+        check(true, action: sortActions.recentlyAdded.action)
         articleRequest.predicate = basePredicate
         if let searchString = searchString {
             let searchPredicate = NSPredicate(format: "(displayTitle CONTAINS[cd] '\(searchString)') OR (snippet CONTAINS[cd] '\(searchString)')")
             articleRequest.predicate = NSCompoundPredicate(andPredicateWithSubpredicates: [basePredicate, searchPredicate])
+            check(true, action: sortActions.title.action)
         }
         articleRequest.sortDescriptors = [sortDescriptor]
         fetchedResultsController = NSFetchedResultsController(fetchRequest: articleRequest, managedObjectContext: dataStore.viewContext, sectionNameKeyPath: nil, cacheName: nil)

    fileprivate func sort(by key: String, ascending: Bool) {
        sortDescriptor = NSSortDescriptor(key: key, ascending: ascending)
    }
    
    // MARK: - Filtering
    

extension SavedArticlesViewController: SavedViewControllerDelegate {
    
    @objc func didPressSortButton() {
        present(sortAlert, animated: true, completion: nil)
    }
}

