update sort on task page