When a taxpayer subject to any taxes imposed under this chapter is entitled to two (2) or more credits against such taxes, the priority of credits shall be determined in the following order:
(a)  Nonrefundable credits. Nonrefundable credits shall be applied to the tax liability before application of refundable credits. If a taxpayer is entitled to more than one (1) nonrefundable credit, the credits shall be applied in the order in which the statutes authorizing the credits were enacted by the legislature.
(b)  Refundable credits. Refundable credits shall be applied to the tax liability after application of any nonrefundable credits.