Order issued in Iowa lawsuit over juvenile offender treatment