Files
Shuaib Hasan Akib fb705aad90 fix(common): restore natural order when KeyValuePipe compareFn changes to null
`KeyValuePipe` sorted its output in place, so when `compareFn` switched
from a function to `null` without the input changing, the original order
was lost and the previously sorted array was returned.

When only `compareFn` changes, rebuild the entries from the input in
natural order before applying the new comparator. Tested with new specs
for objects and Maps that fail without the fix.

Fixes #71893

(cherry picked from commit 622a7c7f29)
2026-11-10 20:31:32 +00:00
..