Task: Text to Code
Input (English): What are the building, room number, semester and year of courses in the Psychology department, sorted using course title?
Output (English): SELECT T2.building ,  T2.room_number ,  T2.semester ,  T2.year FROM course AS T1 JOIN SECTION AS T2 ON T1.course_id  =  T2.course_id WHERE T1.dept_name  =  'Psychology' ORDER BY T1.title