tasks listed in priority order and subject in subject order