The transfer of notes secured by a mortgage or otherwise conveys to the transferee the benefit of the security. If more than one note is secured and the mortgagee transfers some and retains others, the holder of the transferred notes has a preference over the mortgagee if the security is insufficient to pay all the notes.