Saves the execution order
Retrieve previous order