The order is set by the priority signs: blue and red are on the main road, while yellow and green approach with the
sign and give way to everyone on the main road, whichever way they are going. On the main road red is turning right and the oncoming blue car is turning left, so blue gives way to red: red goes first, blue second. Then the cars on the side road sort out the order between themselves: green is turning left and must give way to the oncoming yellow car going straight. So yellow goes third and green goes last