> 
> PS. The composite sort key is another tough cookie to crumble. I feel
> challenged.
> 

Because fn:sort produces a stable sort, one can always go back to the old 
punched-card technique of doing multiple sorts, in minor-to-major key order:

$places => sort(function($x){$x!city}) => reverse() => 
sort(function($x){$x!country})

Michael Kay
Saxonica



_______________________________________________
talk@x-query.com
http://x-query.com/mailman/listinfo/talk

Reply via email to