I need to filter the learnpress courses according to the course ratings

I want filter the learnpress courses by the ratings for each courses, I am using learnpress course review plugin.
I have filter out by category name, alphabatically, by meta query but I want filter the course by rating or review also and rating meta key and value is stored in the lms_comment_meta table.

Can someone help me out how can I get the filter course by rating on the courses arhive page.

I am using filter function like this.

}

Now I want filter out the course by review or ratings.