Priority of Liens (a) Notwithstanding (i) the date, time, method, manner, or order of grant, attachment, or perfection of, or any defect or deficiency in, or failure to perfect, any Liens granted to the ABL Secured Parties in respect of all or any portion of the Collateral or any Liens granted to the Term Secured Parties in respect of all or any portion of the Collateral and regardless of how any such Lien was acquired (whether by grant, statute, operation of law, subrogation or otherwise), (ii) the order or time of filing or recordation of any document or instrument for perfecting the Liens in favor of the ABL Agent for the benefit of the ABL Secured Parties or any Term Agent for the benefit of the Term Secured Parties in any Collateral, (iii) any provision of the Uniform Commercial Code, Debtor Relief Laws or any other applicable law, or of the ABL Documents or the Term Documents, (iv) whether the ABL Agent or any Term Agent, in each case, either directly or through agents, holds possession of, or has control over, all or any part of the Collateral, (v) the date on which the ABL Obligations or the Term Obligations are advanced or made available to the Loan Parties, or (vi) any failure of the ABL Agent or any Term Agent to perfect its Lien in the Collateral, the subordination of any Lien on the Collateral securing any ABL Obligations or Term Obligations, as applicable, to any Lien securing any other obligation of any Borrower or Term Guarantor, or the avoidance, invalidation or lapse of any Lien on the Collateral securing any ABL Obligations or Term Obligations, the ABL Agent, on behalf of itself and the ABL Secured Parties, and each Term Agent, on behalf of itself and the applicable Term Secured Parties, hereby agree that the following priorities apply to the Liens upon and right to payment from Proceeds of the ABL Priority Collateral and the Term Priority Collateral: