add sort task and sorted texts