In this section

Historical Rules · 1 October 2012

Rule 405.2

Official source text from the 1 October 2012 Rules release

The stack keeps track of the order that spells and/or abilities were added to it. Each time an object is put on the stack, it's put on top of all objects already there.

Find this number in the current Rules