Sometimes I like to have the volume thing the first thing right after the guitar ... It gives the effect of playing with the volume knob , which means less distortion at low setting instead of just lower master volume with the same amount of distortion if you put it at the end.
Putting a pedal earlier in the chain makes it's effect more global and stronger.