Sorting Variables and negated Variables in Java
<p>how to sort variables X and negated varibles X' alphabetic which are saved as string in Java?</p>

<pre><code>Example: String string = "B*A'*D*H'"; result must
         String sortedString="A'*B*D*H'";
</code></pre>
