Srace1 can probably chime in here, but if memory serves, the order of payoff when a company is dissolved is:
1. Back pay for former employees. This is a matter of state, not Federal, law, and state attorneys pursue this matter on behalf of the employees. Some states (like California) are quite aggressive on behalf of former employees, others aren’t.
2. Federal, then state, then local taxes, in that order. Pursued by the IRS and state attorneys.
3. Banks, then other stakeholders, including customers with equipment in for repair. Owners of equipment in for repair might pursue a class action lawsuit; this is easy in some states, and quite difficult in others. Depends on state law. And yes, the reason class action lawsuits are rare is that lawsuits are often (much) more expensive than any potential gain. It’s the duty of an ethical lawyer to warn their clients of the potential costs of a lawsuit.
4. Bond and stock holders are paid last. The value is usually zero at this point.