Question: is 2 pair better than a flush?
Answer: The higher the rank, the less chance statistically you have of getting it. The higher the rank of your hand the better, because two pairs always beats one pair, and a flush always beats a straight.