Title: Default sorting not working properly
Last modified: August 1, 2025

---

# Default sorting not working properly

 *  Resolved [jeffreydujeux](https://wordpress.org/support/users/jeffreydujeux/)
 * (@jeffreydujeux)
 * [10 months, 1 week ago](https://wordpress.org/support/topic/default-sorting-not-working-properly/)
 * Hello,
 * I’ve been noticing an issue with the default sorting method on my masonry galleries.
   
   The order that I have defined with the drag&drop method, or even with the numerate
   isn’t the one showing in the gallery. On the other hand, in the lightbox of the
   gallery, the right order is showing.
 * Screenshots of each important pages:
   Gallery page: [https://gyazo.com/a284c4d3a7d437189f1e91ae8a945954](https://gyazo.com/a284c4d3a7d437189f1e91ae8a945954)
   Gallery settings: [https://gyazo.com/e80d4cd494689782b8ec62bfaa67bcf0](https://gyazo.com/e80d4cd494689782b8ec62bfaa67bcf0)
   Global gallery settings: [https://gyazo.com/d1b5535d55e6a720a55aadc159e4b064](https://gyazo.com/d1b5535d55e6a720a55aadc159e4b064)
 * PS: I have selected the default option while inserting the gallery in my page.
   
   PS2: I have put as the title of each image, the “should be” position number.PS3:
   The size are much smaller on the screenshots, it’s because I un-zoomed to be 
   able to show everything in the same one.
    -  This topic was modified 10 months, 1 week ago by [jeffreydujeux](https://wordpress.org/support/users/jeffreydujeux/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdefault-sorting-not-working-properly%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Support [Nik](https://wordpress.org/support/users/nikitaanisimov/)
 * (@nikitaanisimov)
 * [10 months ago](https://wordpress.org/support/topic/default-sorting-not-working-properly/#post-18587988)
 * Hello [@jeffreydujeux](https://wordpress.org/support/users/jeffreydujeux/) , 
   thanks for reaching out
 * Could you please also check that the “[Order by](https://help.10web.io/hc/en-us/articles/360030958231-How-to-Sort-Images-in-Gallery)”
   setting is set to default and not another option, since it overrides the position
   defined with the drag&drop method?
 * Keep us posted please!
 *  Thread Starter [jeffreydujeux](https://wordpress.org/support/users/jeffreydujeux/)
 * (@jeffreydujeux)
 * [10 months ago](https://wordpress.org/support/topic/default-sorting-not-working-properly/#post-18588083)
 * Thanks for the answer.
   Yes, the “Order by” setting is set to default as you can(
   barely, I must admit) see in the third screenshot.New screenshot: [https://gyazo.com/840d34ee24da97a429447205fb3f4b0d](https://gyazo.com/840d34ee24da97a429447205fb3f4b0d)
   I also did set it to default when inserting my gallery in my page.But I have 
   noticed, that when I set the “Number of image columns” to 2 or 5, that the problem
   disappear.It still is there as 3 or 4, and unfortunately, I really don’t like
   the 2 or 5 display.
 *  Plugin Support [Nik](https://wordpress.org/support/users/nikitaanisimov/)
 * (@nikitaanisimov)
 * [9 months, 2 weeks ago](https://wordpress.org/support/topic/default-sorting-not-working-properly/#post-18610113)
 * Hi [@jeffreydujeux](https://wordpress.org/support/users/jeffreydujeux/), thank
   you for the details,
 * Checked your screenshot and setup most thoroughly and could find no fault in 
   how you configured the Gallery settings.
 * Could you please try testing for a possible theme or plugin conflict? You can
   do this using the **[Health Check & Troubleshooting](https://wordpress.org/plugins/health-check/)**
   plugin. It allows you to temporarily disable themes and plugins only for your
   logged-in session, without affecting what site visitors see. This way, you can
   safely check whether the Photo Gallery plugin works properly with the default
   theme and no other plugins enabled.
 * Please let me know how it goes, I’ll be glad to assist further!
 *  Thread Starter [jeffreydujeux](https://wordpress.org/support/users/jeffreydujeux/)
 * (@jeffreydujeux)
 * [9 months, 2 weeks ago](https://wordpress.org/support/topic/default-sorting-not-working-properly/#post-18610158)
 * Thank you for the answer.
   Well I have tried the troubleshooting mode, with activating
   only the Photo Gallery addon, and still, it appears in the wrong order.Screenshot
   of the gallery: [https://gyazo.com/7817353620545b68beac62a09a528981](https://gyazo.com/7817353620545b68beac62a09a528981)
   I have also noticed that when I resize the window narrower, and thus, the gallery
   shows 2 columns instead of 3, that it will show the images in the right order.
   Screenshot of the gallery with 2 columns: [https://gyazo.com/08c16a01946f34ef5fe3370e2893e847](https://gyazo.com/08c16a01946f34ef5fe3370e2893e847)
 *  Plugin Support [Nik](https://wordpress.org/support/users/nikitaanisimov/)
 * (@nikitaanisimov)
 * [9 months, 2 weeks ago](https://wordpress.org/support/topic/default-sorting-not-working-properly/#post-18610240)
 * Thank you [@jeffreydujeux](https://wordpress.org/support/users/jeffreydujeux/)
 * I am very sorry but I should ask you to contact our technical team to solve this
   issue, please contact us [using the following form](https://help.10web.io/hc/en-us/requests/new).
   Please mention this forum post link in your email’s subject line.
 * Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Default sorting not working properly’ is closed to new replies.

 * ![](https://ps.w.org/photo-gallery/assets/icon-256x256.png?rev=2068745)
 * [Photo Gallery by 10Web - Mobile-Friendly Image Gallery](https://wordpress.org/plugins/photo-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/photo-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/photo-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/photo-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/photo-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/photo-gallery/reviews/)

## Tags

 * [order](https://wordpress.org/support/topic-tag/order/)
 * [sorting](https://wordpress.org/support/topic-tag/sorting/)

 * 5 replies
 * 3 participants
 * Last reply from: [Nik](https://wordpress.org/support/users/nikitaanisimov/)
 * Last activity: [9 months, 2 weeks ago](https://wordpress.org/support/topic/default-sorting-not-working-properly/#post-18610240)
 * Status: resolved