bilobag wrote:
Does anyone know how to order a collection of child nodes by a specific
property from the getNodes() call? or do i have to manually order the nodes
using java?  Please let me know if you have any ideas.  Is there a way to
query just for a parents child nodes and put an order by clause in the
query?

sure:

/jcr:root/foo/bar/* order by @prop

but depending on the number of nodes, manually ordering them might be more
efficient than executing a query.

regards
  marcel

Reply via email to