In case the clerk, or, if the costs in any action are collected on execution by the sheriff, then the sheriff, is unable to collect the entire amount of costs due, the clerk or sheriff shall not first retain from the amount the fees due himself or herself, but shall account for and pay the costs collected pro rata to all officers and persons entitled to any portion of the costs so collected.
Ark. Code § 16-68-506