Document sequencer