(1) Reimbursement to the victims of the offense in the amounts and in the manner set forth in the contract executed between the inmate, victim and the sheriff of such county;
(2) Support of dependents, if any, in amounts fixed by the sheriff of such counties or the sheriff's designees;
(3) Payment of any outstanding court costs assessed against the inmate;
(4) Payment in full or ratably of the inmate's written obligations; and
(5) The balance, if any, to the inmate upon discharge from confinement.