Can you take AP World History and AP Art History together?

I am thinking of taking the AP Art Hist for my sophomore fine arts credit. But Everywhere I read, it says do the World Hist before for the Art one? Is that correct or these can be done tog?