I would do a trans first but the thing is that the motor you can add a little at a time. With the trans is pretty much a one time deal.
I will say build the motor and wait until you break the trans before you buy a new one. Unless you can't be without you car then do the trans first.