Ah... I was reading it all wrong!
All you do is change the:
sb => 'Count',
To
sb => 'Last_Hit',
sb stands for "sort by" as a parameter passed to the search.
If you use this is search.cgi or page.cgi you should see the changes every time you enter a keyword.
Try it on my site... search for something, then reload the search page, and you'll see your search is the top of the "most recent" list.
All you do is change the:
sb => 'Count',
To
sb => 'Last_Hit',
sb stands for "sort by" as a parameter passed to the search.
If you use this is search.cgi or page.cgi you should see the changes every time you enter a keyword.
Try it on my site... search for something, then reload the search page, and you'll see your search is the top of the "most recent" list.