Fixed tasks sorting