cdc: fix the ordering of batch events (#8629)
cdc: fix the ordering of batch events (#8629)

Signed-off-by: 5kbpers <82ce634e1749ff1c036c2970dd69219ac9501357@pingcap.com>

BusyJay/tikv,BusyJay/tikv,c4pt0r/tikv,pingcap/tikv,pingcap/tikv,BusyJay/tikv,BusyJay/tikv