1. Administrative expenses and professional services. These are the people who do the work of filing the bankruptcy, such as the lawyers. (Are you surprised?) 2. Secured claims, including mortgage holders. 3. Priority claims, including wages and taxes. 4. Unsecured claims. Most likely, that's you, trying to collect for goods sold or services rendered. 5. Equity claims. These are stockholders. If it is any consolation, they will probably get even less than you do.
My own opinion is if you are not near the top of the pecking order and there was not a lot of money recovered through the chapter 11 procedings your recovery for prefered will be nothing. JMO Good luck.