title: get_results $wpdb order by name asc
body: <p>I am trying to sort data ordered alphabetically.</p>
  
  <pre><code> $myrows = $wpdb-&gt;get_results($wpdb-&gt;prepare("SELECT name, term_id FROM wp_catidx WHERE alpha = %s", $pageletter));     
  </code></pre>
  
  <p>I tried dozens of ways and i did not succeed, can someone help me? Thank you!</p>