The court shall order reasonable fees of counsel, experts, and the child's guardian ad litem and other costs of the action and pretrial proceedings, including genetic tests, to be paid by the parties in proportions and at times determined by the court. In any action brought pursuant to article 13 or 13.5 of title 26, C.R.S., the final costs of any genetic tests or other tests of inherited characteristics shall be assessed against the nonprevailing party on the parentage issue.