The advanced search has a problem if the results are resequenced because the $search_op value is not passed on.
Add the following line after line 28 of browse_orderbyform:
<input type="hidden" name="search_op" value="<?php echo $search_op ?>" />
Regards
Phil