Groundwork for TvRating sorting

Need to test it, write a unit test, write the view for it.