On Friday, June 10, 2011 10:13:02 AM UTC-6, Walter Lee Davis wrote:
>
>
> On Jun 10, 2011, at 10:59 AM, Runa wrote:
>
> > While sorting /ordering text it considers space first, then '.' then
> > characters
> >
> > e.g. @user = User.find(:all,:order=>'name')
> >
> > it outputs
> >
> > A Sharma
> >
On Jun 10, 2011, at 10:59 AM, Runa wrote:
While sorting /ordering text it considers space first, then '.' then
characters
e.g. @user = User.find(:all,:order=>'name')
it outputs
A Sharma
A. Bansal ---with dot
Aarti Dev
Is there any way to sort, so that i get the output as
Aarti
While sorting /ordering text it considers space first, then '.' then
characters
e.g. @user = User.find(:all,:order=>'name')
it outputs
A Sharma
A. Bansal ---with dot
Aarti Dev
Is there any way to sort, so that i get the output as
Aarti Dev
A. Bansal
A Sharma
--
You received
3 matches
Mail list logo