When using the search bar, the results are sorted by 'relevance', yet the dropdown menu stays on 'recently updated'. It should automatically switch to 'relevance'.
When clearing the search bar, the results revert to being sorted by 'recently updated', but the dropdown still indicates 'relevance'. It should automatically change to 'recently updated'.
Additionally, when the search bar is empty, the 'relevance' sorting option should be hidden, as it is not useful without an active search.