Ensure document edits are always sent to server in the right order
Ensure document edits are always sent to server in the right order

Fixes #2201.

Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code