Link to home
Start Free TrialLog in
Avatar of rincewind666
rincewind666

asked on

Sorting numbers

I have a listbox containing rows of numbers: 7 numbers per row separated by commas, such as:

27,11,44,23,3,9,7
15,6,27,22,44,2,4
15,35,11,27,42,4,6
etc

When I click a button, I need each of these numbers to be added to another listbox, one per line, in acending order (sorted):

2
4
4
6
7
9
11
11
etc

I am using Delphi 6.  Many thanks for your help.
ASKER CERTIFIED SOLUTION
Avatar of Ferruccio Accalai
Ferruccio Accalai
Flag of Italy image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Looks like homework.
Avatar of rincewind666
rincewind666

ASKER

Many thanks Ferruccio68. Your help is greatly appreciated.