order tasks by position