Where by any order a sum for costs is adjudged to be paid by the defendant to the complainant, if such sum is not paid forthwith or within such time as may be specified in the order, the defendant may be committed to the correctional facility for any term not exceeding the term prescribed in relation to a like sum under section 1202 of this Code.