Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

How to Sort result based on IEnumerable<string>

Vote:
 

Hi Team,

I need to to sort my search result based on the list of categories .Is it possible to order by based in the IEnumerable categories?

sample indexed type:

       searchresultitem.cs

.
.
.
.
 [Searchable(false)]
        public IEnumerable Categories { get; set; }

.
.
.
.
.
.

 Sample index data

"Categories$$string": [
        "abc",
        "xyz",
        "bbc"
    ]


Please help me out.

Regards,
Karthik
#198905
Edited, Nov 08, 2018 11:22
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.