I got it, it's normal behavior for String ordering. Thank you.

On Wed, Jun 29, 2011 at 9:44 PM, suchitra nair <[email protected]>wrote:

> Hey..
>          From what i c, its ordering it as string n not as numbers.. the
> datatype u'v declared is string n not int or numeric for that matter.. 1
> comes before 2 when strings are compared.. Hope this helps..
>
>
>
>
> On Wed, Jun 29, 2011 at 7:02 PM, Evan Cheng <[email protected]> wrote:
>
>> The result comes like the following:
>> 10000
>> 11000
>> 12000
>> 13000
>> 2000
>> 3000
>> 4000
>>
>> OH, MY GOD...
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine for Java" 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/google-appengine-java?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" 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/google-appengine-java?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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/google-appengine-java?hl=en.

Reply via email to