After blessings which comes first?

When for example eating sheakol food together with Mezonot food ( ex cookies)- we should first make Beracha on Mezonot food and the. Sheakol. Bit what abould when finishing and making the after blessings. Would it be Al Hamihya and then Bore Nefashot, vice versa or it doesn’t matter?

Al hamichya first

2 Likes