modify the checkpoint end order