Sort a map's entries by descending priority, optionally excluding the
currently-active context. Passthrough handling applies this ordering to the
active context's declared fallback set; contexts outside that route are not
consulted.
Stable for equal priorities (preserves Map insertion order). A missing
priority is treated as 0.
Sort a map's entries by descending priority, optionally excluding the currently-active context. Passthrough handling applies this ordering to the active context's declared fallback set; contexts outside that route are not consulted.
Stable for equal priorities (preserves Map insertion order). A missing
priorityis treated as 0.