Back pay first, then social security, then taxes, then secured/privileged/unsecured/subordinated credits.