I wouldn't have any problem with this if the prisoners were convicted and serving time in the county lockup. After all, our troops in Iraq and other places (Djibouti for example) have to put up with lots worse. But it they are awaiting trial, then I have a problem with treating like the scum those actually convicted are (Most of those awaiting trial are too, of course, but not all)
The judicial system sentences a misdemeanant to a number of days incarceration, not starvation, not deprivation of basic human needs such as sleep, a dry place to be and not sujected to broiling heat and dangerous cold.
Any rationalization reeks of a generalized emotional reaction to the broader issue of crime within society. Societal crime is a problem that will not be resolved by this evil moron of a sheriff and his barbaric tactics. He does, however, bask is the spotlight of radio and TV interviews that focus on what he likes to describe as creative punishment techniques. He disreagrds the history that his barbarisms are a long way from creative. Dictators, tyrants and criminals against humanity have used them for centuries.