Re: [Rails] Sorting Text in ROR

2011-06-10 Thread Kendall Gifford
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 > >

Re: [Rails] Sorting Text in ROR

2011-06-10 Thread Walter Davis
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

[Rails] Sorting Text in ROR

2011-06-10 Thread Runa
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