Yes the product is equal because even though the numbers may have changed places they did not change the position(numerator to denominator) vice versa.
meaning the product of what is in the numerator is equal irrespective of the positions for an e.g in numerator part ion the first terms we have 3*5=15 and in the second scenario we have of course 3*5=15 same applies to the denominators 3*5=5*3