To the extent your jurisdiction shares common law principles, the answer is no, obtaining judgment first in time does not give one mortgagee in pari passu any priority claim to the proceeds from the sale of the property. Pari passu mortgages rank equal in priority.
Practically, I can't...