When the retained percentage is insufficient to pay all claims for labor or materials, the court shall, in making distribution under section 573.18 , order the claims in each class paid in the order of filing the same. [C97, §3102; S13, §1989-a57; C24, 27, 31, 35, 39, § 10316; C46, 50, 54, 58, 62, 66, 71, 73, 75, 77, 79, 81, §573.19 ] 2020 Acts, ch 1063, §316