how can i sort a array of objects by name.
Example of how the array is constructed array:
object[] o = new object[items.Count+(row-exists)];
int i = 0;
for(i=0; i<items.Count;i++)
{
XmlNode item = items[i];
o[i] = new object[5];
((object[])o[i])[0] = Safe(item, "ows_Title");
((object[])o[i])[1] = Safe(item, "ows_Column5");
((object[])o[i])[2] = ((string)Safe(item, "ows_Column7")).Trim(new char[] {'\''});
((object[])o[i])[3] = Convert.ToDouble(Safe(item, "ows_Column12"), provider);
((object[])o[i])[4] = Convert.ToDouble(Safe(item, "ows_Column9"), provider);
}
i want the 'o' to be sorted based on the value of ((object[])o[i])[0] .
Thank you