title: XSLT Change delimiter from semicolon to comma and sort the values in alphabetical order
body: <p>How to change the delimiter from semicolon to comma and sort the values in alphabetical order in XSLT? Please advise.</p>
  
  <p><strong>Existing tags</strong></p>
  
  <pre><code>&lt;component&gt;
      &lt;rate&gt;T;P;C;X;R&lt;/rate&gt;
  &lt;/component&gt;
  </code></pre>
  
  <p><strong>Expected tags</strong></p>
  
  <pre><code>&lt;component&gt;
      &lt;rate&gt;C,P,R,T,X&lt;/rate&gt;
  &lt;/component&gt;
  </code></pre>