There's no formal order.... the basic rule is minimal signal chain - ie, only put something there if it NEEDS to be there... (hint- compressors, EQ, never *need* to be there...)
What *needs* to be there is the minimal amount of gear needed to get the sound you are looking for.... in other words, if you're not using the compressor for a track during recording, keep it out of the signal chain.
A side-chain is really like a second input that you can use to trigger the unit instead of the signal at the mains ins/outs.... it has nothing to do with bypass...
You know when you hear a radio dj speaking and the volume of the music in the background gets lowered when he/she talks? This is called "ducking" and is done using the sidechain.
Although the bear is right that there is no formal answer as compression is used for different reasons on different cases but there are some guide lines.
You have to think about how your eq boost/cut will effect your amplitude. Do you need a massive boost? or is it minor.
Think....do you need to fix a few transients and then want to give a minor boost in the mids? in that case you can compress to control the few problematic areas and then boost the mids. This won't effect your amplitude drasticly. But say u need to give a massive boost. As this will change the amplitude you should put the compressor after the eq to even out the signal.
Here's another senerio - say u want to cut a anoying freq and then you need to compress to boost the signal or punch it up...obviously you'll want to cut the freq first and only then compress - sort of multi compression.
i've only messed with compression that comes with software...when i bought an external compressor i had to do some fixing up but it helped a bunch...i understand alot more of how the expander/gate and compressor/limiter work. now I'm thinking about getting a few more units like eq and reverb....nothing too off the wall though