When reordering images in a gallery you have to drag and drop the images in the desired order. The cursor image that appears while dragging does not correctly correspond to the actual position, it’s offset.