Additional comments to clarify diff implementation
Simplify diff op sorting when patching

The logic to sort removals before insertions is not required
when patches are transformed correctly against already-applied
patches before being applied.

sortPatch() was also relying on Array.sort() being stable,
which it isn't guaranteed to be.