Make sure id's are numbers before sorting
This prevents that todo #10 appears before todo #2