I think it does sort them correctly if you open the Item Manager with the effect already active, but I don't think it re-sorts when you get the effect by clicking on the "Use Milk" button.
I'll take a look at that tomorrow. In the mean-time, try closing the Item Manager and re-opening it and tell me if it shows the food in the correct order the second time, please.