Hi, after a lot of testing, I think it is safe and I have submitted this patch to the bugtracker
https://bugs.freepascal.org/view.php?id=34873
With this patch, it is possible to provide a custom compare function to a stringlist and thus allow the stringlist to keep the items automatically sorted according to the custom compare routine.
In addition, this custom compare function can also use fields of the objects associated with the strings.
I would also be willing to update the documentation accordingly, but I have no idea how to do that.
Franz
