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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Looks like homework.
ASKER
Many thanks Ferruccio68. Your help is greatly appreciated.