PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
[Edit: Oops too slow - but the links may still be useful]
That's your problem then, the number is being sorted that way because VARCHAR fields are intended for text so whatever's in them will be sorted as a text string. If you want to get the sorting right try a numeric type column like SMALLINT or INT,
if for some (very wreid) reason you cannot change the field type anymore order by CONVERT(number, unsigned) desc might help. But consider it the last resort.