If the property seized and sold is subject to a tax imposed by any internal revenue law which has not been paid, the amount remaining after applying paragraph (1) shall then be applied against such tax liability (and, if such tax was not previously assessed, it shall then be assessed);
The amount, if any, remaining after applying paragraphs (1) and (2) shall then be applied against the liability in respect of which the levy was made or the sale was conducted.