Yes but it's not automatic. Creditors don't have any feelings of loyalty towards debtors the way employees feel towards employers. Creditors also tend to be businesses who are used to suing for their debts, unlike employees. So while employees should get paid first, you have to actually make a claim to that money somehow. I'd ask a real lawyer for the details.