[Lazarus] Example of TObjectList sorting

Richard Mace richard.mace at gmail.com
Mon May 9 13:48:51 CEST 2016


Hi All,

I have a TObjectList that contains many objects that have a property called
"Position" which is an integer.

Could somebody show me an example of the code that I will need to create
that will sort all of my Objects within the TObjectList so that they are in
position order e.g. 1,2,3,4,5 and so on?

Thanks

Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160509/8b69edf4/attachment-0002.html>


More information about the Lazarus mailing list