I tried to Google this, but all I could find was how to sort alphabetically which I already know. Basically I would like to sort my different rows and print them out based on their date value.
This is printing out a competition schedule. I want to organize it by weeks and print it out so all of the first weeks games are printed together and in a different div the 2nd weeks games etc etc...
I don't want to use a WHERE()
clause with a certain date because I have multiple leagues with multiple start dates and the dates will definitely not be the same. I feel like it would be very sluggish to search through every possible date.
Any help would be awesome.