Show previous searches

Show a list of previous search terms when typing in the search
field; selecting a search term places it in the search field,
while pressing the search button replaces this list with search
results.
Sort previous search terms by location of occurrence

Order the list of previous searches by the location where the
currently entered search text appears: searches in which the
currently entered text appears earlier should be shown first in
the list.