Director sorts the actions by calling out to an action factory method. T...

...he ensures that actions behave as expected. Since adding actions in a different order can sometimes impact overall actor behavior.