ordering of actions according to time