Add secondary sort by id to task list