The trust deed (and note) that normally takes priority is the one that is:

a. for the greatest amount.
b. a construction loan.
c. executed/delivered first.
d. recorded first.