Who gets paid when a company goes into insolvency – Creditors Priority

Who gets paid when a company goes into insolvency – Creditors Priority