Expand my Community achievements bar.

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