On Dec 14, 2010, at 08:46, Luis Miguel García Mancebo wrote:

> I think it's being ordered alphabetically, not numerically.

Yes, I agree.

> Perhaps
> there is a place where you can specify the type of the column for
> CakePHP? (I don't know CakePHP by now).

CakePHP doesn't care; CakePHP is just sending the sort command to the database 
along with the query, and the database does the actual sorting before returning 
the requested data. If the sorting done by the database is not the way you 
want, you'll have to find a way to instruct the database how to sort properly 
(for example by changing the column type).


Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to