         objectPonsos = mutableObjectPonsos
         
         let bbiDismiss = UIBarButtonItem(barButtonSystemItem: .stop, target: self, action: #selector(RBSRealmBrowser.dismissBrowser))
-//        let bbiDismiss = UIBarButtonItem(title: "Dismiss", style: .plain, target: self, action:#selector(RBSRealmBrowser.dismissBrowser))
         let bbiSort = UIBarButtonItem(title: "Sort A-Z", style: .plain, target: self, action: #selector(RBSRealmBrowser.sortObjects))
         self.navigationItem.rightBarButtonItems = [bbiDismiss, bbiSort]
     }

     - parameter indexPath: NSIndexPath

     */

    public override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
        tableView .deselectRow(at: indexPath, animated: true)
        let results = self.resultsForObjectSChemaAtIndex(indexPath.row)

     - parameter id: a UIBarButtonItem
     */
    func sortObjects(_ id:UIBarButtonItem) {
        id.title = ascending == false ?"Sort Z-A": "Sort A-Z"
        ascending = !ascending
        let sortDescriptor = NSSortDescriptor(key:"objectClassName", ascending: ascending)
        let array = NSArray(array: objectPonsos)
        objectPonsos = array.sortedArray(using: [sortDescriptor]) as! [RBSObjectPonso]
