I have a list (i.e. Dim nList as new List(of className)). Each class has a property named zIndex (i.e. className.zIndex). Is it possible
Dim nList as new List(of className)
zIndex
className.zIndex
You can use a custom comparison to sort the list:
nList.Sort(Function(x, y) x.zIndex.CompareTo(y.zIndex))