Ok so i havent programmed in excel before but Im trying to take a list and make it so it takes the list and sorts the list alphabetically and then breaks it up into columns for each letter (and numbers) so it does something like this:

takes this:
B
D
3
D
B
A
C

Into:
3
A
B
B
C
D
D

and then into this:
3 A B C D
B D

If there is already something like this then sorry, not sure where to start looking.