From the Comprehensive Rules (Dark Ascension)
513. End Step
513.1. First, all abilities that trigger "at the beginning of the end step" or "at the beginning of the next end step" go on the stack....