title: How to sort characters in a string?
body: <p>I would like to sort the characters in a string.</p>
  
  <p>E.g.</p>
  
  <pre><code>echo cba | sort-command
  abc
  </code></pre>
  
  <p>Is there a command that will allow me to do this or will I have to write an <code>awk</code> script to iterate over the string and sort it?</p>