Put the following events that lead to the generation of an action potential