Hello.
Assuming the following:
[code]Type MyType
Field Name:string
Field Age:Byte
End Type[code]
...how do I sort the tList by Age? Am I going to have to write my own Sort code, or is there a way to get the Sort() method to do it?
The documentation may as well be written in Japanese.
Assuming the following:
[code]Type MyType
Field Name:string
Field Age:Byte
End Type[code]
...how do I sort the tList by Age? Am I going to have to write my own Sort code, or is there a way to get the Sort() method to do it?
The documentation may as well be written in Japanese.
Method Sort( ascending=True,compareFunc( o1:Object,o2:Object )=CompareObjects )
Description Sort a list in either ascending (default) or decending order.
Information User types should implement a Compare method in order to be sorted.
Description Sort a list in either ascending (default) or decending order.
Information User types should implement a Compare method in order to be sorted.