fix tasks ordering when two tasks in the same column