Viewport: Use a sorted map for :QUERY-PARAMS and :POPSTATE-OBSERVER.