`ReduceComputed` groups changed properties.

This is mostly important for sorting when items are changed via `setProperties`
instead of a sequence of `set`s.
Merge pull request #3290 from hjdivad/array-computed-sort-via-sortProperties

`ReduceComputed` groups changed properties.