Make computed.sort generate an answer immediately

This is a followup to pull #9356 that gives nicer timing. It extends the
arrayComputed protocol with a `flushedChanges` callback so that
implementations like `computed.sort` can confidently do batched
operations without waiting a whole run loop.
Merge pull request #9372 from ef4/sort-timing

Make computed.sort generate an answer immediately