I read in the review of the prison episode that it wasn't supposed to air when it did, but in the following episode Arizona mentioned something about being awake all day because of that case, so I'm not so sure that the order of the episode was changed.