It doesn’t matter, the elements are in series so the current flowing through them will be the same.

That said, I have a preference if the LED is driven on the low side to put the load resistor from anode to VDD. Reason? If there’s a short to GND (from, say, an errant scope probe) then it won’t kill the LED.