Excess IRA Contribution

On September 18, 2025, I contributed to both my traditional and Roth IRAs, but the contribution was over my allowable limit so I need to withdraw some money to correct the excess. The question is, does it matter which IRA I withdraw from (trad. or Roth) since I contributed to both on the same day? I read somewhere that in a case like mine one should withdraw from the Roth first, but I can't seem to document that anywhere.