# Block Reordering Using Snap-to-Grid

You can create symmetrical, evenly-spaced layouts automatically with Snap-to-Grid.

When you enable Snap-to-Grid reordering, the system enforces a positioning algorithm while creating and moving blocks. The Algorithm calculates and optimizes placement based on the block's top-left point to ensure a symmetrical fit into the grid.

## Why Use Snap-to-Grid Reordering?

When you enable Snap-to-Grid block reordering, you ensure no two blocks occupy the same X-axis location on the task grid, ensuring a clear, deterministic execution order.

Similarly, positioning multiple blocks on the same X-Axis is not recommended, as doing so may result an unintentional or non-deterministic execution order.

Snap-to-Grid reordering prevents and resolves this problem with the following features:

- Vertical Warning Line — When using Snap-to-Grid Reordering, two (or more) blocks occupying the same X-Axis position within a task grid generate an orange vertical line appears as a warning. The absence of the orange vertical line on your task grid guarantees a deterministic execution order of the task blocks in your grid.

- Auto-repositioning — When you reposition or add a block, the system automatically positions it to an available X-axis position.

## Enabling Snap-to-Grid Reordering

Turn on this functionality by doing the following:

1. If you haven't already done so, invoke the Task Editor. While in the Task Editor, locate the Toggle Grid icon in the Toolbar.

2. Click the Toggle Grid icon. A checkered grid is superimposed on the regular Task Editor layout, converting the view from the image on the left below, to the image on the right below.