This tasklist took a while to debug:
This is not a sorting bug. This is an illusion. If you check the numbers exactly, you will see, the sort is correct.