What order are attacks processed in?

1 
1