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?