When working out, is it more beneficial to do cardio prior to muscle training or vice versa?
Depends how's your fitness level. If you don't start from zero with cardio I love to mix them both. If you don't have a decent level of cardio start with it. It'll help you with all the other exercises.
A lot of people find it to be an either or situation. Yet from a professional stand point; it's better to first raise the heart rate, increase the blood flow and temperature of the muscle with cardio, then a stretching routine to help, well...stretch the muscles and tendons to reduce the shock of weight training. After that a few warm up sets at light weight of your specific exercise to prepare the exact muscles to be worked. This is the "by the book" methodology.
Light cardio is good before lifting, but a full cardio workout will diminish your performance for lifting and therefore affect how much you push your limits, therefore affecting how much muscle you gain.
There's probably also some info out there about full cardio right after lifting, prob regarding anabolic & aerobic terms but I'm not that well informed. I try to keep things separate, with only five minutes of cardio before and after lifting. Then on "off" days (no lifting) I'll do a full cardio workout. I think that's pretty standard.