title: How to sort a ComboBox.Items collection of KeyValuePair<string,string> by Value?
body: <p>I'm getting a KeyValuePair from a <strong>service</strong> and some of the values are not sorted, as reproduced below.</p>
  
  <p><strong>How can I resort the KeyValuePair by value so that they display in alphabetical order in the ComboBox:</strong></p>
  
  <pre><code>public NationalityComboBox()
  {
      InitializeComponent();
  
      Items.Add(new KeyValuePair&lt;string, string&gt;(null, "Please choose..."));
      Items.Add(new KeyValuePair&lt;string, string&gt;("111", "American"));
      Items.Add(new KeyValuePair&lt;string, string&gt;("777", "Zimbabwean"));
      Items.Add(new KeyValuePair&lt;string, string&gt;("222", "Australian"));
      Items.Add(new KeyValuePair&lt;string, string&gt;("333", "Belgian"));
      Items.Add(new KeyValuePair&lt;string, string&gt;("444", "French"));
      Items.Add(new KeyValuePair&lt;string, string&gt;("555", "German"));
      Items.Add(new KeyValuePair&lt;string, string&gt;("666", "Georgian"));
      SelectedIndex = 0;
  
  }
  </code></pre>