"llal if an employer is convicted of any offence under this act the court that imposes the sentence must consider any amounts due to the employee as a result of non payment or illegal deductions and must make an appropriate order for the payment of amounts due to the employee"