Hi @saurabh_kumar_02, sorting lost of pages can be done in similar way
to sorting list of any other java object, i.e you can implement
Comparator. Below you can find simple Comparator implementation that
will allow you to sort list of Pages by page title (jcr:title).import
com.day.cq.wcm.api.Page; import java.util.Comparator; import
java.util.Collections; import java.util.List; // List with pages
List pages // sorting list of pages using custom comparator
Collections.sort(pages, new PageByTitleC...