tasktimer id bugfix and sort functions