Bankrupt and liquidating Hostess Brands said Friday that it made a deal to sell many of its bread brands - including Wonder Bread and Nature's pride - to Flowers Foods.

According to the LA Times story, Flowers "will spend $360 million for the Wonder, Nature’s Pride, Butternut, Home Pride and Merita labels as well as 20 Hostess bakeries and 38 depots. Hostess, based in Irving, Texas, will sell Flowers its Beefsteak bread brand separately in a $30-million arrangement."

However, the deal still needs to be approved by the bankruptcy court overseeing Hostess's affairs, and there is still a possibility another company could swoop in with a better offer.

The Hostess snack brands, including Twinkies and Ding Dongs, remain on the market.