I using a genric list(m_equipmentList ) which is collection of objects (Schedule_Payitem). How can sort list according to a proerty of child object ?
Dim m_
Try this
Dim m_equipmentList As New List(Of Schedule_Payitem) m_equipmentList.Sort(delegate(Schedule_Payitem p1, Schedule_Payitem p2) { return p1.resourceid .CompareTo(p2.resourceid ); });