Title: Sort order broken
Last modified: May 19, 2018

---

# Sort order broken

 *  Resolved [synthezoid](https://wordpress.org/support/users/synthezoid/)
 * (@synthezoid)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/sort-order-broken/)
 * My dropbox folder is organized like this:
 * 00. Index Of Documents.pdf
    01. first PDF 02. Second PDF 02. (Attachments) – 
   folder of documents related to 2nd PDF 03. third PDF 04. fourth PDF 04. (Attachments)–
   folder of documents related to 4th PDF
 * except there’s close to 100 PDFs.
 * The plugin displays them in this order no matter what I do:
 * 02. (Attachments) – folder of documents related to 2nd PDF
    04. (Attachments)–
   folder of documents related to 4th PDF 00. Index Of Documents.pdf 01. first PDF
   02. Second PDF 03. third PDF 04. fourth PDF
 * This is absolutely confusing to my users, and none of the options in the settings
   screen or the sort attribute in the shortcode seem to make a difference. Is there
   a way to sort them by name order? Dropbox has no problem displaying them in correct
   alphabetical order.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsort-order-broken%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Blighty](https://wordpress.org/support/users/blighty/)
 * (@blighty)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/sort-order-broken/#post-10298676)
 * Thanks for the feedback. I just tried this out using the filenames you have above
   and I’m not able to reproduce the problem you’re seeing. Can you please confirm
   you have the option **Use natural sort order:** checked on in the plugin settings?
 * Thanks!
 * Chris
 *  Thread Starter [synthezoid](https://wordpress.org/support/users/synthezoid/)
 * (@synthezoid)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/sort-order-broken/#post-10299570)
 * Yes, I’ve tried all variations of the sort order settings. Maybe I wasn’t clear.
   The two marked “folder of documents” are subfolders, not documents.
 * I was able to fix this myself by going into the plugin and editing your sorting
   function to stop looking at whether $var->{.tag} was “folder” or not (well, actually
   I just replaced “folder” with “fxlder”.) However, if you update the plugin, obviously
   this will break… it would be great if there was a checkbox for this.
 *  Plugin Author [Blighty](https://wordpress.org/support/users/blighty/)
 * (@blighty)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/sort-order-broken/#post-10303780)
 * I’ve just pushed out version 2.1.6 which provides the checkbox you were looking
   for in the options.

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

The topic ‘Sort order broken’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/blighty-explorer_fffefe.svg)
 * [Blighty Explorer](https://wordpress.org/plugins/blighty-explorer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/blighty-explorer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/blighty-explorer/)
 * [Active Topics](https://wordpress.org/support/plugin/blighty-explorer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/blighty-explorer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/blighty-explorer/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [Blighty](https://wordpress.org/support/users/blighty/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/sort-order-broken/#post-10303780)
 * Status: resolved