troubleshooting Question

Sorting ListView by column clicks

Avatar of poultarp
poultarp asked on
Delphi
2 Comments1 Solution1274 ViewsLast Modified:
Hi

I have a ListView with some columns containing string and other columns containing integers. I know which columns that contains numbers and which ones that contains strings.

If I use the AlphaSort command to sort the contents of the columns when a column header is clicked, it works fine when I click on columns containing strings, but when I click on a column containing integers the is sorted like this: 13,12,11,10,1,2,3,4,5,6,7,8,9 (if the column contains the numbers 1-13).

Is there a command similar to AlphaSort which sorts the column numerically?

Regards
Søren Augustesen
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros