Hi !
Can someone exmplain me how to sort the number in ascending order on this exemple :
Can someone exmplain me how to sort the number in ascending order on this exemple :
Global List:TList = CreateList() Type mytype Field value:Int Function create:mytype(val:Int) Local t:mytype = New mytype t.value = val Return t End Function End Type Global object1:mytype Global object2:mytype Global object3:mytype object1 = mytype.Create(12) object2 = mytype.Create(6) object3 = mytype.Create(28) List.AddLast object1 List.AddLast object2 List.AddLast object3 SortList(list,True) For i:mytype = EachIn list Print i.value Next