§ 30. Subordination of notices of lis pendens. In case of subordination pursuant to the provisions of sections twenty-six, twenty-eight or twenty-nine of this article all actions and proceedings upon such mechanics' liens and all notices of pendency of actions in any action brought to foreclose the same and all proceedings upon judgments and attachments, shall be subordinate in like manner and to like extent as provided in said sections, respectively, for the subordination of mechanics' liens, judgments and attachments.