This is very interesting, this means there's a big business behind it. I don't know which are the requirements to be hired as prison guard, for sure is, as you said, an unpleasant and dangerous work, but I don't get why a prison guard should be paid higher than a cop, that is always facing criminals, but in more dangerous situations.
> Several years ago a Federal judge ordered the state to reduce prison overcrowding. It hasn't made much progress.
This would definitely cost a lot, prison overcrowding, in some countries, is a big issue. There's no real solution other than build new prisons, hire new people and transfer prisoners. I read in the past an article stating that the future of prisons will be mostly private, turned into a real business. I honestly laughed in a first instance, then reading a lot about the topic, I figured out that maybe that article wasn't so much wrong after all...