At the moment I have a SQL Project ready to be deployed (Its like-for-like with the prod version). However, when generating the deployment script – objects such as the stored procedures are coming up first in the deployment scripts; therefore the script is failing as the dependent objects (tables, functions etc…) have not been created yet. How can I tell