Hi!
Create an array with 2 columns. In first column store references to all objects, in second column - values of that property for sorting for all objects. then use ASORT() function to sort that array. Than call printing by scanning all array elements and using object reference from the first array's column.
>I have an object which contains order objects
>I use addobject to add them to them parent object
>
>With the
>
>FOR each oObject in l_object.objects
> this.print(oObject)
>NEXT
>
>Problem the objectect with be printed in the order they are added
>to the parent object
>
>How can i sort the object by an property
>
>Kind regards
>
>Jan Dorresteijn
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.