Complex sentence: The prison tries to house inmates convicted of similar crimes together, i.e., a sex offender will be housed with another sex offender.
Split into simpler sentences: The prison tries to house inmates the are convicted of similar things together. I.E., a sex offender will be housed with a nother sex offender.