Okay, now I know the command, but its being sorted in multiple ways, first by year, then month, then day. Each is contained in the array, so how can I rearrange the array so as it goes through to post it all, its in the correct order? (I'll keep looking at it)