Do you want it to sort that way every time with a search? Are you talking about the search form?
If yes to both of those, add the following to sub html_view_success, after the <form ... line:
Code:
<input type="hidden" sb="
the number of your ID field">
<input type="hidden" so="descend">
If you have a search form on a static html page, you can also add those fields to the form.
If you want to make the "List All" link sort as you requested, add the following to the link in sub html_footer:
Code:
&sb=
the number of your ID field&so=descend
------------------
JPD