 
   link _.storeNotebook, storeNotebook
 
-  docs: _docs
+  docs: _sortedDocs
   hasDocs: _hasDocs
   loadNotebooks: loadNotebooks

    purge = ->
      _.requestDeleteObject type, id, (error) ->
        if error
        else
          _docs.remove self


Flow.Browser = (_) ->
  _docs = signals []

  _sortedDocs = lift _docs, (docs) ->
    sortBy docs, (doc) -> -doc.date().getTime()

  _hasDocs = lift _docs, (docs) -> docs.length > 0

  createDocView = ([ type, id, doc ]) ->
