Fixes for sentence_based sorting of Quality Scoring task