ItFunctionally it doesn’t matter, the. The elements (LED and load resistor) are in series so the current flowing through them will be the same regardless of the order in which they're hooked up.
That said, I have a preference if the LED is driven on the low side I have a preference to put the load resistor from anode to VDD to LED anode. Reason? IfConnected this way, if there’s a short to GND at the anode (from, say, an errant scope probe) then it won’t kill the LED. Conversely, if the LED anode is tied to VDD and the load resistor to the cathode, shorting the LED cathode puts the full supply across the LED, which makes a nice popping noise...