tweaking public UI to behave more like staff ui in sort labels https://www.pivotaltracker.com/story/show/62551360
tests to check that sort label for subject works as well
making this cleaner. moved some of the configuration logic to the model, which I guess is where it should go?
Merge pull request #671 from cfitz/index_fix

Index fix