A security interest (the first security interest ) has priority over another security interest (the last security interest ) if, by the operation of this Act (including this section):
(a) the first security interest has priority over security interests of a particular kind (the intermediate security interests ); and
(b) the intermediate security interests have priority over the last security interest.