title: golang - how to sort string or []byte?
body: <p>I am looking for a function, that can sort <code>string</code> or <code>[]byte</code>:</p>
  <pre><code>&quot;bcad&quot; to &quot;abcd&quot;
  or
  []byte(&quot;bcad&quot;) to []byte(&quot;abcd&quot;)
  </code></pre>
  <p>The string only contains letters - but sorting should also work for letters and numbers.</p>
  <p>I found sort package but not the function I want.</p>