Files
Shuaib Hasan Akib 622a7c7f29 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
2026-11-10 12:31:26 -08:00
..