I want to use sort() method from https://developer.adobe.com/experience-manager/reference-materials/6-5/javadoc/com/day/cq/dam/commons/sort/ResourceSorter.html i have all the required resources stored in variable children as given below:final Iterator<Resource> children = sectionResource.listChildre...