Currently you can sort a TStringList using the "Sort" method. But for more complex sorting you really need the CustomSort method.
http://docs.embarcadero.com/products/ra ... mSort.html
[RESOLVED] Extend TStringList with CustomSort method
Moderator: kfury77
Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
- Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
- Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
- Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
[RESOLVED] Extend TStringList with CustomSort method
Last edited by pmk65 on Fri Jun 10, 2016 9:49 am, edited 1 time in total.
There are 10 types of people in the world: Those who understand binary and those who don't.
Re: Extend TStringList with CustomSort method (Plugin script
I'll see if this can be added to plugins interface... It might require some ugly internal hacks and I only see a way to add it in thread-unsafe manner, but that might be good enough.
Blumentals Software Programmer