(1) Costs and expenses of administration;
(2) Reasonable funeral expenses;
(3) Debts and taxes with preference under federal law;
(4) Unpaid child support which is due and owing at the time of the decedent's death;
(5) Debts and taxes with preference under other laws of the state of West Virginia;
(6) Reasonable and necessary medical and hospital expenses of the last illness of the decedent, including compensation for persons attending the decedent during his or her last illness; and
(7) All other claims.
(b) If the applicable assets of the estate are insufficient to pay all claims within a class, those claims within that class shall be paid on a pro-rata basis. No preference shall be given in the payment of any claim over any other claim of the same class, and a claim due and payable shall not be entitled to a preference over claims not due.
(c) Notwithstanding the provisions of subsection (a) of this section, if the payment of all funeral expenses of the decedent isprovided for by an irrevocable pre-need funeral contract or trust, neither the decedent's estate nor the decedent's surviving spouse shall have any obligation for the payment of such funeral expenses.