how to sort names and numbers?
After completing my school assignment on simple array sorts I came up with
this question. Say I have a textbox with a name in it. Right beside that I
have a textbox with number in it. Exp txtBox1 = "John Doe", txtBox2 = 8.
Lets say I have 10 rows. that would be 20 text boxes. How could I randomly
sort these by name keeping all like numbers together in sequential order.
Output should look something like this. The key here is to randomly sort
the names within the same number group.
John Doe 3
Mary Jane 3
name 4
name 4
name 4
name 5
name 7
name 7
name 8
name 8
No comments:
Post a Comment