Solved

Sort this TStringList

Posted on 2000-05-09
1
349 Views
Last Modified: 2010-04-04
Can someone point me to a Delphi 2 function or procedure that will sort the contents of a TStringList in ascending and/or descending order?
0
Comment
Question by:Kapusta
1 Comment
 
LVL 7

Accepted Solution

by:
Motaz earned 50 total points
ID: 2795464
Use Sort method

example:

var
  List: TStringList;
begin
  List:= TStringList.Create;
  List.Add...
  .....
  // Finally:
  List.Sort;
end;

Motaz
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
FMX enumerated colours 2 84
Delphi - replicating a form 8 64
How to call a form that is in a DLL  from an application? 13 64
Firemonkey DbLookupComboBox equivalent ? 2 34
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now