Compact styling for full page search is not ideal

Here’s my case:
The most important part of search is relevance. I’d like to quickly get to the most viewed/most liked/latest results. However, I’d like to be able to select which of these matters for any given search because it’s not always the same. For example, searching for API questions, the most viewed matters most. In another topic, such as Dev Setup, the latest/most liked reveals information integrity.

It would be helpful if the search can be ranked by any of these criteria.