Wednesday, June 4, 2003, 3:34:41 AM, you wrote:

GM> This should be
GM>  v.sortrev((v.x,), (v.x,))

GM> With your simple view it works as expected here, but not in
GM> general.

GM> The syntax may look odd, but it lets you do complex ordering:
GM>  v.sortrev((v.a, v.b, v.c), (v.b,))
GM> is ascending on a, descending on b, ascending on c.

Thanks Gordon, now it makes sense. I thought sortrev sorted
a view in ascending order on the properties from the first
param tuple, and in descending order on properties from the
second tuple.
The api description is a little ambiguous in that matter :)

Maciej

_______________________________________________
metakit mailing list  -  [EMAIL PROTECTED]
http://www.equi4.com/mailman/listinfo/metakit

Reply via email to