Title: Default sort not working on posts
Last modified: November 27, 2017

---

# Default sort not working on posts

 *  Resolved [jamminjames](https://wordpress.org/support/users/jamminjames/)
 * (@jamminjames)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/default-sort-not-working-on-posts/)
 * Nextgen gallery posts that I have set up with a simple shortcode like `[nggallery
   id=1]` are not sorting according to the default sort I have set up, which is 
   Image ID, Descending. Do I have to put the preferred sort order in every gallery’s
   shortcode (there’s a lot of them)?

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

 *  Thread Starter [jamminjames](https://wordpress.org/support/users/jamminjames/)
 * (@jamminjames)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/default-sort-not-working-on-posts/#post-9723887)
 * Okay, I see now the shortcodes have changed. It’s really too bad NextGen doesn’t
   grandfather in the old codes, we have a lot of galleries and now I have to manually
   update every one. Using this works:
 * `[ngg_images gallery_ids="1" display_type="photocrati-nextgen_basic_thumbnails"]`
 *  Thread Starter [jamminjames](https://wordpress.org/support/users/jamminjames/)
 * (@jamminjames)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/default-sort-not-working-on-posts/#post-9723968)
 * Actually, I was wrong. Using either code, there were some galleries that weren’t
   updating. It turned out to be a website caching issue.
 *  Plugin Contributor [Imagely](https://wordpress.org/support/users/imagely/)
 * (@imagely)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/default-sort-not-working-on-posts/#post-9727107)
 * [@jamminjames](https://wordpress.org/support/users/jamminjames/) – Thanks for
   the updates!
 * – Cais.

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

The topic ‘Default sort not working on posts’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

## Tags

 * [nggallery](https://wordpress.org/support/topic-tag/nggallery/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)
 * [sort](https://wordpress.org/support/topic-tag/sort/)

 * 3 replies
 * 2 participants
 * Last reply from: [Imagely](https://wordpress.org/support/users/imagely/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/default-sort-not-working-on-posts/#post-9727107)
 * Status: resolved