Assuming I have multiple timestamps of multiple years and months in an array of timestamps (eg 123456, 111222333, 2112321321, 232234422, 1111343222, 231111211, etc), I want to sort them into this format:
2012
06
09
2004
03
08
2003
01
02
Is there any way of doing this? I am using PHP