Jordi.--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/AlCFVki-VKsJ.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
In order to do it in one query, you could add a field that is used specifically for sorting. If the value of the normal field is positive, the sort field would be the same as the normal field. If the value of the normal field is negative or zero, the sort field could be something like: 99999999 - normal field. This would work as long as there's a known upper limit of the value of the normal positive field.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/_ZMYPzrhEvAJ.