What is the order of events in a triathlon?

What is the order of events in a triathlon?