1
Answer

How to orderby LikesCount when using Rest API to fetch items

Shail S

Shail S

5y
1.4k
1
I need to retrieve all the posts from the "Posts" list in a Sharepoint Blog site and sort the results depending on the "NumberofLikes". How can i achieve this?
 
&$orderby=LikesCount desc
 
does not work with Rest API url. How can i sort the items based on the number of likes. How can i achieve it?
Answers (1)