Go to the gallery with the images you want to re-sort.
In the vertical options menu, click the double arrow Sort icon.
From the drop down list, select the sort order you prefer.
After selecting an option, a Resort Images box will pop up.
Click on the Yes, please resort button to confirm the new sort order for your images.