As was mostly said above if unwitnessed cardiac arrest do CPR first and the reason was explained to me ... we want to prime the pump ... IE we want blood in there before the shock so if the shock works there is something to pump.
I just couldn't keep this all straight until it was explained...