London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

How to Sort result based on IEnumerable<string>

Vote:
0

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.