Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out 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.