Can you rewrite daily_task_sorter.py to accomplish this?