Reapply the sorting on Task refresh