 /// 'are not interoperable and using them together is not supported.'
 public final class RBSRealmBrowser: UIViewController {
 
-    private var ascending: Bool = false
+    @objc dynamic private var ascending: Bool = true
     private var realmBrowserView: RBSRealmBrowserView = RBSRealmBrowserView()
     private var engine: BrowserEngine
+    private var disposable: NSKeyValueObservation?
 
     private var filterOptions: UISegmentedControl = {
         let segmentedControl = UISegmentedControl(items: ["All", "Hide base Realm models"])

        configureNavigationBar()
        configureTableView()
        BrowserTools.checkForUpdates()
    }

    public override func viewWillTransition(to size: CGSize,

        return browserShortcut
    }

    // MARK: - View setup

    private func configureNavigationBar() {
        navigationItem.titleView = filterOptions
        let bbiDismiss = UIBarButtonItem(barButtonSystemItem: .stop, target: self, action: .actionDismiss)
        let title = ascending ? RBSSortStyle.ascending.rawValue : RBSSortStyle.descending.rawValue
        let bbiSort = UIBarButtonItem(title: title, style: .plain, target: self, action: .actionSort)
        self.navigationItem.rightBarButtonItems = [bbiDismiss, bbiSort]
    }
