Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Query Builder -Is it possible to add more than one orderBy

Avatar

Level 4

Hi All,

Is it possible to add more than one orderby property in Query.For example am ordering the results(Pages) by cq:lastReplicated if both the pages has same time I have to order by jcr:created.Is there anyway that we can handle in QueryBuilder itself.

Thanks in Advance.

1 Accepted Solution

Avatar

Correct answer by
Level 10
2 Replies

Avatar

Correct answer by
Level 10

Avatar

Level 1

Good

Thanks!

I had the same problem