Datapack load order

Kinda feels dumb to create a help post as a helper :D but how do I make sure my datapack always replaces a file in another datapack (I know the namespace but the actual file name is unknown)

Continue to help post