title: Array won't sort for some reason
body: <p>I'm testing a code to sort array in a custom alphabetic order, but for some reason each time i run the program the ordem don't sort</p>
  <p>Main Code</p>
  <pre><code>using System;
  using System.Collections.Generic;
  
  class MainClass {
    public static void Main (string[] args) {
      string[] myArray = {&quot;bbjcsnmh&quot; , &quot;kkr&quot;};
  
      Array.Sort(myArray, MySorter.CompareStrings);
  
      foreach(string s in myArray)
      {
        Console.WriteLine(s); 
      }
    }
  }
  
  </code></pre>
  <p>Custom Sorter</p>
  <pre><code>using System;
  using System.Collections;
  
  class MySorter
  {
    public static int CompareStrings(string a, string b)
    {
      var newAlphabetOrder = &quot;kbwrqdnfxjmlvhtcgzps&quot;;
      if(newAlphabetOrder.IndexOf((string) a) &lt; newAlphabetOrder.IndexOf((string) b))
        return -1;
  
      return newAlphabetOrder.IndexOf((string) a) &gt; 
      newAlphabetOrder.IndexOf((string) b) ? 1 : 0;
    }
  }
  
  </code></pre>