sort by most relevant function written
Wrote associated test for sort by most relevant. Passes
Implemented sorting by most relevant in the app