Change order of ApplyUpdate

Change order of ApplyUpdate

Hi
Using CachedUpdate

I need to have the delete statements to be fired before the inserts, is this possible?

if not, i try to delete the deleted records before i can applyUpdates, but when i call apply after that i get error record to be deleted cant be found.
Is there a ways to set the updaterecordtype of the record i deleted manually to rtUnmodified?

Thanks for your help!