order of prep for exterior painting
TSP last.

If you use TSP first you'll be wasting your time cleaning paint that you're just going to scrape off anyway, and the old primer/paint/wood beneath what you scrape off will remain uncleaned. If you use TSP first, that also means the chips and dust from your scraping and sanding won't be washed off. So TSP should always be your last step.