QUOTE(sysanalyst @ Nov 30 2007, 06:06 PM)

I think this is the result of a mySQL "feature" (e.g bug). The behavior of the "order" clause has changed with newer mySQL releases. When I get some free time, I'll try to pinpoint the specific statements and provide fixes. A very similar problem occurred a while back with some of my other php/mySQL apps and slightly changing the query fixed the problem. Since there was another big layoff at the shop where I work, I've not had much free time to do much of anything beyond learning several unfortunate co-workers job duties.

I also ran into this problem and my simple fixed was to alter main.class.php lines 370,375 & 411
so that the order by reads as :
ORDER BY aid ASC, numeric_value ASC
By doing this it forces the Question Values to display in the order of their numeric_value which fixed it for my needs.
Now the real issue is and I've not had time to track it down (new to PHP & UCCASS) is that the Insert / Select needs an order by on it, and since it is not there or not correct the database is ordering on just the primary index is my guess which is just the AID, the primary Index probably needs to be AID, AVID so it will follow the original order.
Mike