Who are the ministers, when did they take office, and when did they leave office, ordered by when they left office?
return ministers ;return when   #1 take office   ;return when   #1 leave office   ;return #1 ,  #2 ,   #3 ;return #4 sorted by #3
['select', 'project', 'project', 'union', 'sort']