title: Woocommerce sidebar widget categories sorting not working
body: <p>I displayed <strong>Woocommerce categories widget</strong> in sidebar of product archive page. And I tried following code to sort categories in sidebar.</p>
  
  <pre><code>add_filter( 'woocommerce_product_categories_widget_args', 'custom_woocommerce_product_subcategories_args' );
  function custom_woocommerce_product_subcategories_args( $args ) {
      $args['menu_order'] = 'asc';
      return $args;
  }
  </code></pre>
  
  <p>I want to sort categories and sub-categories both, But is not working.</p>