change sort order style woocommerce code example
Example: change woocommerce default sort order
add_filter('woocommerce_default_catalog_orderby', 'misha_default_catalog_orderby');
function misha_default_catalog_orderby( $sort_by ) {
return 'date';
}