The department shall apply all money realized under this subsection first against the expenses of the proceedings and then against the liability in respect to which the levy was made or the sale was conducted and any other liability owed to the department by the delinquent person.