I found this in include/func.php:
Code:
# array_multisort($result_p,($orderby=="orderby" && $config["Appearance"]["product_order_reversed"]=="Y"?SORT_DESC:SORT_ASC),SORT_STRING, $productorderbys,($orderby=="orderby" && $config["Appearance"]["product_order_reversed"]=="Y"?SORT_DESC:SORT_ASC),SORT_NUMERIC,$productorderbyname,SORT_STRING);
array_multisort($result_p,($config["Appearance"]["product_order_reversed"]=="Y"?SORT_DESC:SORT_ASC),SORT_STRING,$productorderbys,($config["Appearance"]["product_order_reversed"]=="Y"?SORT_DESC:SORT_ASC),SORT_REGULAR,$productorderbyname,SORT_STRING);
My question is, how can we add a drop down menu so the user can choose to have the product sort displayed as ascending or descending?