The atom with the higher atomic number has the highest priority.
C 6
Br 35
If two substituents are tied, then you go on and use atoms that are attached to that substituent.
Ie
In deciding between the CH3 and COOH, the COOH is a higher priority because of the Os (atomic number 8), than the CH3 that has Hs (atomic number 1).