The order of priority for repaying creditors is: secured, preferential, unsecured, and shareholders. Creditors must be paid in this order.