Subject to the provisions of the Code, all persons having an interest either in the mortgage-security or in the right of redemption shall be joined as parties to any suit relating to the mortgage. Explanation. A puisne mortgagee may sue for foreclosure or for sale without making the prior mortgagee a party to the suit: and a prior mortgagee ne...