Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit is happening now. Discover what's next in customer experience.

How to sort the search results based on 2 or more than two metadata values


Level 1

Hi Team,

We need to get our search result data sorted based on two metadata field values. We tried to implement this in several ways by generating different queries but none of the logic was successful. Below are the different queries that we tried >>


The sorting is always influenced by the last sp_s value that we provide, and it always overrides the preceding values.

Please suggest.

Our requirement is to sort the values first based on the x-index (in rows), and then among the rows, based on the y-index. Do we have any solution for this?

Can you please provide a relevant query for the same?

Awaiting your response.


0 Replies