> > >If you want in SINGLE QUERY and simpler, >then MAY BE you can try subselects. Can you give me a crude (simple) example of what you mean? > >Also you can think about methods. But NOT indexed. >And extract some part of formula into method(s) > Actually, this is a method now (not indexed). I make a temporary field with this method, the drop it after the sort. Thanks, Jon