You're sorting by the date column and then the task column. Reverse that.