5.107 order of events

'Before' and 'after' can also be used to indicate the order of events when the same person does two actions or two people do the same action.

You can also sometimes use 'earlier than' or 'later than'.