Update Sitemap.php

Had a few problems after time pasted by, then I switched a few lines around in Sitemap.php now things are working again. Just something to think about. You can merge this if you want, just wanted to point my problem out. :smile: