Forum: Ferret How did ferret sort by the column?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Dc0606fdf7be2aaaf2c35b7403075f36?d=identicon&s=25 Jin (Guest)
on 2007-05-09 13:26
Consider that if i have a column and the type is int or date
then i pass the :sort field with it i must sort by the value

but if a column which type is string and i set the :sort as it
how did ferret sort by it?
seems it is sort by the first letter of this column according to the

i read the source code but stopped in the c code,because i am not
familiar with it and it is complex...

so can anybody give me the answer?
hope i have describe this question clearly
I want to know the mechanism
thank you
This topic is locked and can not be replied to.