mod index reorder tasks