Body or Mechanical first?

I was just wondering what others think is the best approach to a gradual restoration. If your car needs both body work/paint and mechanical upgrades/repairs, which would you tackle first?

Body work and paint first?

Mechanical work first?