в зависимости от того, который из

The difference in products between the two types of reactions arises according to which element, hydrogen or bromine, adds first.

Источник: Русско-английский научно-технический словарь на Gufo.me