Filter/Sort through a value with three associated values (MONTH, DAY, and YEAR)
<p>I'm trying to filter through some images.</p>

<p>Each image has 3 sets of values that I need to sort through collectively, MONTH, DAY, YEAR.</p>

<p>I'm trying to figure out how to choose a specific a YEAR, DAY, <strong>and/or</strong> MONTH and then filter my list of images accordingly.</p>

<p>This isn't homework. I don't study CS. I'm writing this in PHP, but your answer probably doesn't need php code for me to know what to do.</p>

<p>I don't know that much about sorting algorithms. Perhaps someone could also point me to an interesting introduction to this topic as well?</p>

<p>Just to make things more clear:</p>

<p>I'd like to be able to go through it backwards or forwards, for example, if someone only selects one of the filters/values, like DAY, then the images displayed will be all those associated with that DAY, regardless of MONTH or YEAR.</p>

<p>I have everything already written. It is a website with drop down menus, and when a user selects one item from the YEAR, DAY, or MONTH menus, I will repopulate the others accordingly.</p>

<p>Thanks for the help.</p>
