How to reverse alphabetical order of string
<p>How to reverse alphabetical order of string</p>

<p>I would like to know how to reverse the individual characters in a string, plus numbers. I've tried it already in a very simple manner by doing the following, but for logical reasons this didn't work:</p>

<p><strong>DECODED</strong></p>

<pre><code>abcdefghijklmnopqrstuvwxyz
</code></pre>

<p><strong>ENCODED</strong></p>

<pre><code>abcdefghijklmmlkjihgfedcba
</code></pre>

<p>I used a very simple string.Replace to get this. As you can see, only half of the string is getting reversed. I'm not sure if my logic is correct, but I think that this is because the string gets converted as a whole, rather than every character in it individually. I would like to know what the best way is to reverse alphabetical characters and numbers, so I can get a proper output. Examples are more than welcome!</p>
