Priorities added to action nodes

Each action can have a priority values assigned. Action with lower
priorities are executed before action with higher priorities. If both
actions have the same priority, there’s no way to guarantee the order
they are going to be executed in (which is default).