SBendBuckeye
Programmer
Let's say I have an array with FB Conferences and Teams:
Row1 Pac10, USC, 11-2
Row2 BigEast, Miami, 12-1
Row3 Pac10, WSU, 11-2
Row4 BigEast, BC, 7-4
Row5 Big10, Ohio State, 14-0
Row6 Big10, Iowa, 11-2
Row7 Pac10, UCLA, 7-4
etc
So I have a 6 by 2 array and I want to sort it by conference name. How is the best way to do this? If I test like this: If Array(0, row) > Array(0, row + 1) and I want to swap them, can I swap the entire row or do I need to spin through each element and swap them one at a time?
Thanks in advance for any help!
Row1 Pac10, USC, 11-2
Row2 BigEast, Miami, 12-1
Row3 Pac10, WSU, 11-2
Row4 BigEast, BC, 7-4
Row5 Big10, Ohio State, 14-0
Row6 Big10, Iowa, 11-2
Row7 Pac10, UCLA, 7-4
etc
So I have a 6 by 2 array and I want to sort it by conference name. How is the best way to do this? If I test like this: If Array(0, row) > Array(0, row + 1) and I want to swap them, can I swap the entire row or do I need to spin through each element and swap them one at a time?
Thanks in advance for any help!