Thanks.
I was able to get sort of the results that I want, but now the problem is that I need to have them sorted in the order that is called for in $menuids.
For example, $menuids is supposed to be "5,10,3,1,4,7", but it's returning the results in numerical order ASC.
I've tried using array_multisort(), but one of the arrays is a multi-dimensional array, and one is not, so it's not working...in other words, I've turned the data in $menuids into an array and tried sorting $menus_array with it. Nope. Didn't work...
I'm just taking stabs in the dark here. If I should post my script code, I will.
Thank you all for your assistance.