By default, galleries are sorted by the oldest image added. To change the order of images in a gallery, select the gallery from the corresponding page.
Scroll down until you see the Media fields. Assuming we'd want to move 'Dog1'.
Hold down the 6 grey dots in that row and drag it to your desired location.
The image should be in the new order.