add ordering to tasks list