a question in two parts: Firstly, for my own understanding, where are the setSortBy and setDefaultDirection methods for the search result blocks? These are all available to set in the layout xml (e.g. catalogsearch.xml) but I am unable to locate the actual methods inside any of the search blocks like I can with the setListOrders() method. Are these just examples of the magic methods approach to these set______ function calls? If so where are these properties stemming from?
Secondly, how does one set the sortBy to sort with two fields? I am looking to sort by product type "Grouped" then "Simple" and then by another parameter - in my case manufacturer.
<reference name="search_result_list">
<action method="setDefaultDirection"><param>asc</param></action>
<action method="setSortBy"><param>manufacturer</param></action>
</reference>
Thanks
Jon