Document sequencing and assertions