title: Sort the digits of a numerical string
body: <p>I need to <em>SORT</em> all the digits from some string values in Postgres. </p>
  
  <p>For instance, if I have two strings, e.g. </p>
  
  <pre><code>"70005" ==&gt; "00057"
  "70001" ==&gt; "00017"
  "32451" ==&gt; "12345"
  </code></pre>
  
  <p>I can't cast the strings to integer or bigint due to my logic limitations. Is it possible to do this?</p>