sorted tasks output. Close #45.