instruction: Find the number of courses offered by Psychology department in each year with a line chart, could you sort by the year in asc?
response: SELECT year, COUNT(year) FROM course AS T1 JOIN section AS T2 ON T1.course_id = T2.course_id WHERE T1.dept_name = 'Psychology' GROUP BY year ORDER BY year