Title: No sorting
Last modified: November 27, 2016

---

# No sorting

 *  Resolved [haans](https://wordpress.org/support/users/haans/)
 * (@haans)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/no-sorting/)
 * Version 3.6.11:
    I can’t get sorting to work. I’ve created three folders and 
   put a few documents in each, but no matter what settings I use under “Default
   sort options”, there is no apparent sorting of the files. They are displayed 
   in different order in Chrome and Edge, and if I enable sorting bar and try to
   sort by file name, I get “no files found in this folder”. It appears to move 
   to a default folder or something?
 * /?page_id=196&mdocs-cat=mdocuments&att=none
 * Any suggestions?

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/no-sorting/page/2/?output_format=md) [→](https://wordpress.org/support/topic/no-sorting/page/2/?output_format=md)

 *  Thread Starter [haans](https://wordpress.org/support/users/haans/)
 * (@haans)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/no-sorting/#post-8486211)
 * (Unrelated: I’ve started translating the plugin to Norwegian. Great plugin, just
   what I was looking for.)
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/no-sorting/#post-8489051)
 * I’ll take a look at this issue, sounds like you have found a bug. Ill get back
   to you when I know more.
 * I have requested you to be a Norwegian translator you can follow the thread here:
 * > [Hello Polyglots, I am the…](https://make.wordpress.org/polyglots/2016/11/28/hello-polyglots-15/)
 *  Thread Starter [haans](https://wordpress.org/support/users/haans/)
 * (@haans)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/no-sorting/#post-8489161)
 * Great, thanks.
 * (The translation is more or less done and posted in the system. I’m using it 
   on my own site, and it’s working. There are however some phrases that are still
   in English, even though they are translated in the .po-file.)
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/no-sorting/#post-8489243)
 * Yeah I may have missed a couple of translations if you could list them for me
   I can fix them for you.
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/no-sorting/#post-8489272)
 * Okay I have found the bug and will fix it for the next version of mdocs. It has
   to do with WordPress permalink settings, if you are using the plain permalink
   setting you will get this issue.
 * A new version should be out soon.
 * Wrong post sorry 🙂
    -  This reply was modified 9 years, 6 months ago by [bhaldie](https://wordpress.org/support/users/bhaldie/).
    -  This reply was modified 9 years, 6 months ago by [bhaldie](https://wordpress.org/support/users/bhaldie/).
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/no-sorting/#post-8489406)
 * do you have cookies enabled on your browsers. Sort relies on cookies in order
   to sort.
 * Let me know.
 *  Thread Starter [haans](https://wordpress.org/support/users/haans/)
 * (@haans)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/no-sorting/#post-8489483)
 * Yes, cookies are enabled.
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/no-sorting/#post-8489567)
 * Next question is do you have the “Disable User Sort” button checked if not check
   it and try again.
 * Let me know the results.
 *  Thread Starter [haans](https://wordpress.org/support/users/haans/)
 * (@haans)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/no-sorting/#post-8489603)
 * Tried both settings, yes.
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/no-sorting/#post-8489910)
 * Can you inspect one of the sort buttons e.g. Name or Version or Download:
 * I need to see the the th tag look like. Here is an example of a working th tag
   for the Download sort button:
 *     ```
       <th class="mdocs-sort-option" data-disable-user-sort="" data-sort-type="downloads" data-current-cat="mdocs-cat-3" data-permalink="https://example.com/?page_id=7867&mdocs-cat=mdocs-cat-3&att=none">Downloads</th>
       ```
   
 *  Thread Starter [haans](https://wordpress.org/support/users/haans/)
 * (@haans)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/no-sorting/#post-8490069)
 * `<th class="mdocs-sort-option" data-disable-user-sort="" data-sort-type="modified"
   data-current-cat="mdocuments" data-permalink="http://www.example.com/?page_id
   =196&mdocs-cat=mdocuments&att=none">Sist endret <i class="fa fa-chevron-up"></
   i></th>`
 * Very strange. It suddenly started working, sort of, but there are still bugs.
   I didn’t really do anything, but now I can sort by pressing the different sort
   buttons. Setting the default sorting in the control panel still does nothing,
   though. It appears to remember the last chosen sorting, but there’s no difference
   if I choose file name or date, or ascending or descending in the settings. Tested
   in both Chrome and Edge.
    -  This reply was modified 9 years, 6 months ago by [haans](https://wordpress.org/support/users/haans/).
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/no-sorting/#post-8490081)
 * Try updating to the latest version of mdocs version 3.6.12 then goto the mdocs
   dashboard>Options>Settings>Default Sort Options and check both Disable User Sort
   and Hide Sortbar.
 * Then goto your main site again and the mdocs document list page and open Chrome
   Inspect. Click on the Application tab at the top of the window.
 * Under Storage Cookies delete the mdocs-sort-range and mdocs-sort-type cookie 
   values.
 * Refresh the page.
 *  Thread Starter [haans](https://wordpress.org/support/users/haans/)
 * (@haans)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/no-sorting/#post-8490088)
 * This is getting stranger by the minute. Now it works if I check “Disable user
   sort”, but if I uncheck it, it reverts to (probably) the last used user sort 
   method.
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/no-sorting/#post-8490098)
 * That sounds like the correct behaviour, disabling user sort does not use the 
   saved cookies so when you check that method the settings for your default sort
   will work.
 * So depending on your settings and the browser you use the sort will be different.
 *  Thread Starter [haans](https://wordpress.org/support/users/haans/)
 * (@haans)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/no-sorting/#post-8490101)
 * Great, thanks. Seems to be working as it should now!

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/no-sorting/page/2/?output_format=md) [→](https://wordpress.org/support/topic/no-sorting/page/2/?output_format=md)

The topic ‘No sorting’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/memphis-documents-library_91918f.
   svg)
 * [Memphis Documents Library](https://wordpress.org/plugins/memphis-documents-library/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/memphis-documents-library/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/memphis-documents-library/)
 * [Active Topics](https://wordpress.org/support/plugin/memphis-documents-library/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/memphis-documents-library/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/memphis-documents-library/reviews/)

 * 16 replies
 * 2 participants
 * Last reply from: [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/no-sorting/page/2/#post-8490105)
 * Status: resolved