Yeah, there are some spoilers to BL2 in TPS, so I'd recommend playing them in the order they were released.