Sorting images by tagging them in WordPress