Complex sentence: Each country has its own two-digit NCB code, which were granted in the order the NCB system was adopted by that country.
Split into simpler sentences: Each country has its own two-digit NCB code. They were granted in the order the NCB system was adopted by that country.