title: How to sort multiple strings alphabetically without using built-in functions
body: <p>I have to sort a set of strings alphabetically without any built-in functions and then print them on the screen. I have tried converting first char of the string to a number value and then compare this value with other first char's of a string, but I don't think that's a good option. 
  <br/><br/>(something like that)</p>
  
  <pre><code>for (int i = 0; i &lt; numberOfStrings; i++)
  {
    for (int j = i + 1; j &lt; numberOfStrings; j++)
    {
      if ((int)string1[i] &gt; (int)string2[i]         
      {
        biggestFirstChar = (int)string1[i];
      }
    }
  }
  </code></pre>
  
  <p>So I'd like to know what's an easy way to sort multiple strings alphabetically without any functions. This is a school assignment.</p>