Weapon/Armor Grades?

Can someone please explain the tier system. Like is a tier 2 magic better than tier 2 rare?