mod/taskchain fix error in Moodle 2.0 - 2.2 which nas no file.set_sortorder method