Closes #1977
diff --git a/mitmproxy/addons/view.py b/mitmproxy/addons/view.py
index d2ab75f3fd..3a0587b054 100644
--- a/mitmproxy/addons/view.py
+++ b/mitmproxy/addons/view.py
@@ -102,7 +102,7 @@ def generate(self, f: mitmproxy.flow.Flow) -> int:
 class View(collections.Sequence):
     def __init__(self):
         super().__init__()
-        self._store = {}
+        self._store = collections.OrderedDict()
         self.filter = matchall
         # Should we show only marked flows?
         self.show_marked = False

Changes view._store from dict to OrderedDict