❔ Sorting a JObject by child values
I have JSON being returned by an API that I'm trying to sort to find the most relevant result. Here's an example of the JSON
I need to work out which track is the most relevant which I was going to by comparing/sorting by playCount/rating values (So Wonders of the universe would be the preferred result above) but I'm struggling to find a good way to sort the track array by the child values.
Can someone point me in the right direction?
I need to work out which track is the most relevant which I was going to by comparing/sorting by playCount/rating values (So Wonders of the universe would be the preferred result above) but I'm struggling to find a good way to sort the track array by the child values.
Can someone point me in the right direction?