Click a tile in the same row or column as the gap, or use arrow keys, to slide tiles back into order.