Slide the tiles back into order. Tap a tile in the gap's row or column to slide it, use the arrow keys, or swipe.