TAG ARCHIVES: sorting in php using for loop