I'm trying to sort a facade view
protected GUIFacadeControl lstRecords = null;
...
if (lstRecords == null)
{
lstRecords = new GUIFacadeControl(GetID);
}
...
foreach (GUIListItem itemS in snapDirectory.GetDirectory(SnapDir))
{
if (!itemS.IsFolder)
{
lstRecords.Add(item);
}
}
...
and then ? Possible with lstRecords.Sort ?? But how ?
I would like to sort on the item.label...
Greetz
kroko
protected GUIFacadeControl lstRecords = null;
...
if (lstRecords == null)
{
lstRecords = new GUIFacadeControl(GetID);
}
...
foreach (GUIListItem itemS in snapDirectory.GetDirectory(SnapDir))
{
if (!itemS.IsFolder)
{
lstRecords.Add(item);
}
}
...
and then ? Possible with lstRecords.Sort ?? But how ?
I would like to sort on the item.label...
Greetz
kroko