Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Sorting childnodes by node name

Avatar

Former Community Member

Hi,

I'm looking a way to get hold of the child nodes in the order of the node names using any API. The oob api getNodes doesnt have any overloaded method which i can use to sort the child nodes using node name. i stumbled upon the BTreeManager, but not sure if that can be used for that purpose.

I can write something up but wanted to check if anyone knows of any API's which can be used for this?

Thanks.

1 Accepted Solution

Avatar

Correct answer by
Level 10
2 Replies

Avatar

Correct answer by
Level 10

Avatar

Former Community Member

Thanks for the links. I'll take a look at them and get back in case i face any issues.