[fpc-devel] TStringList.CustomSort

Michael Van Canneyt michael.vancanneyt at wisa.be
Tue Nov 7 10:03:57 CET 2006

On Mon, 6 Nov 2006, Micha Nelissen wrote:

> Hi,
> Does anyone use the CustomSort facility of TStringList ? I am a bit
> troubled because it's broken by design it seems. You can sort the list
> with it, but searching/adding will not work properly (or be linear). I
> want to have a callback that gives you two strings to compare, instead
> of two indexes which you have to fetch anyway from the list, first.
> Thoughts ?

What has adding/searching to do with sorting ?


More information about the fpc-devel mailing list