Hi,

I havew a smal xml file which looks like this:

Code:
<?xml version="1.0" encoding="utf-8" ?>
<fv>
  <flv url="http://www.mysite1.com">Windows</flv>
  <flv url="http://www.mysite2.com">Happy</flv>
</fv>
I'm creating buttons in my app from the "innertext":
vb.net Code:
  1. Dim myxml As XmlDocument = New XmlDocument()
  2.         myxml.Load(favoPath)
  3.         For Each el As XmlElement In myxml.DocumentElement.ChildNodes
  4.             Dim itm As New ButtonItem(el.InnerText, el.InnerText)
  5.             itm.Tag = el.GetAttribute("url")
  6.             'etc...
This all works fine, all the buttons are added according the xml. I would like to know how to sort the "innertext" so the buttons are alphabetically added.
[Happy]
[Windows]

Thanks in advance.