title: How to sort a value alphabeticaly in a dropdownlist? vb.net
body: <p>I am trying to sort values in a dropdown , here is my code</p>
  
  <pre><code>   For Each Keystring as Long in HashValue.Keys 
        Dim LItem As New ListItem
        LItem.Text = cw.Name.ToString()
        LItem.Value = Keystring.ToString
        ddRole.Items.Add(LItem)
     Next
  </code></pre>
  
  <p>I tried LItem.Sort. but Sort was not defined property. </p>
  
  <p>let me know the best way to sort values. thanks</p>