[fpc-devel] TStringList.CustomSort

Micha Nelissen micha at neli.hopto.org
Mon Nov 6 23:21:54 CET 2006


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 ?


More information about the fpc-devel mailing list