Not sure why you ask, is this a trick question?
With struts and tierods, you'll need an alignment. But bad brakes are the most unsafe, start there.
Since you're down there already, might as well do the struts and tierods at the same time.
All depends if nothing is dangerous. If you have all the parts and an hour tomorrow then do the O2 and rear shocks...those are easy and quick to do. If you have 8 hours then do the front end. I fit the job for the time frame I have at hand. I really hate to stop a job because I ran out of time. If the brakes are really bad then that's top priority.