title: Loop to return all Woocommerce product tags in alphabetical order
body: <p>i am trying to make a loop in WordPress for woocommerce theme to get out all product tags in alphabetical order
  in a simple way "heading with A below it all tags starts with A letter etc."
  i am using the code but its return null</p>
  
  <pre><code>&lt;?php
              $tags = get_tags();
  $html = '&lt;div class="post_tags"&gt;';
  foreach ( $tags as $tag ) {
  $tag_link = get_tag_link( $tag-&gt;term_id );
  
  $html .= "&lt;a href='{$tag_link}' title='{$tag-&gt;name} Tag' class='{$tag- 
  &gt;slug}'&gt;";
  $html .= "{$tag-&gt;name}&lt;/a&gt;";
  }
  $html .= '&lt;/div&gt;';
  echo $html;
              ?&gt;
  </code></pre>