Forum Moderators: coopster
I need to output all the information from all the arrays at once.
For example,
Monday
11under 5-7pm High School
12under 7-9pm High School
Tuesday
12under 3-5pm Middle School
11under 5-7pm Middle School
Can anybody point me in a theoretical right step? I'm sitting here trying to figure out how I am going to approach this and can't come up with any good ideas.
The problem I run into is that EACH day's practices must be sorted in time-order. The 5pm practice should be listed before the 7pm practice (regardless of which team is practicing).
I have an array for each day of the week (a monday array, a tuesday array, etc.).
Each array is an array of array's. So Monday[0] will contain an array that is filled with event info as described above. Monday[1] will have another array that is filled with event info as described above.
How can I then sort the MONDAY array so that each item (which is an array) is sorted numerically by starttime (which is one of fields in each array), so that I can just then print out the monday array in order - which would be in time order once sorted.
Couldn't figure this one out! Thanks!