[snip] If you say so. In that case, jblanchard, I apologize for my outburst. [/snip] Apology accepted. Look, several of us have been on this list for years and have helped several others through their issues. Mailing lists like this (try a C++ newsgroup for example) are much more merciless than some of us here, we have toned it in the past year or so. Folks here volunteer a lot of their time and are less likely to help those that will not help themselves. The array sorting suggestions you provide will not sort based on the number of items in each array, which is what the OP wanted. He will have to count each array and then order the arrays by the number of objects contained in each. He could make an array of the arrays and go in that direction. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php