iMac13,2 (Late iMac 2012)
While it would be best to always use the same brand and part number for all your memory, this can not alway be done. You have to also consider that even if you this, there is no guarantee the chips were made during the same fabrication run or that they were even made by the same manufacturer. All you can hope for this that the chips were tested to insure they meet the brands published specifications.  

The best advice would be to add memory in pairs and to buy the pairs together in the same memory kit. Otherwise, make sure the store has a good return policy (just in case).

Your computer uses PC2-12800 DDR3 memory.

Buying the Apple brand is probably the most expensive way to go. On line stores such as Micro Center sell Mac memory from the brands Crucial, Centon, Kingston and Patriot. The Patriot 2x8GB kit sells for $60 US.