Change sync data handling order

Deleted -> Modified -> Added to Deleted -> Added -> Modified