A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

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.