reorder tasks