I want to add sorting in Review Listing. What is the logic to add Sort by ratings?
I have override method getReviewsCollection()
of Magento/Review/Block/Product/View.php
So I have $this->_reviewsCollection
on my hand.
Anyone has Idea how to apply sort on base of rating?