it depends if the variable to reset is unset when you start the function otherwise you will have the order to reset and to start the function at the same time...
Btw the order matters its like you read a text if we change the place of the words its impossible to understand ;-)