Turned task list into a priority list.