How are tasks ordered?