Dynamics (compressors), filters (wah), pitch shifters, and Volume pedals typically go at the beginning of the signal chain. Gain based effects such as and overdrive/distortion pedals come next. Modulation effects such as chorus, flangers, phasers typically come next in the chain.