Split out dependency ordering

New projects need to be synced before we can order any of the
dependencies

So during project open, first generate the git files, then do a repo
sync on all the files

After this, order the dependencies using a new script order-deps