Plugin Support
Bruce
(@ninjateamwp)
Hi @misterfu ,
Thanks for using FileBird PRO, please note that it is not a bug, the gallery does not have “sorting” option yet.
But this as been suggested to our developers for consideration and we hope to have it later.
Thank you.
Kind regards,
-Bruce-
Hi @ninjateamwp!
Thanks for the quick response. Maybe it did not become very clear in my initial post why I’m sure that this is related to a sorting-bug in Filebird. Let me try to explain in more detail:
To avoid any confusion, let’s not talk about galleries and how something is displayed in the frontend. It’s also happening in the backend.
If I select the Filebird Media Library and navigate to one of the folders I have created, I can sort files by name ASC or DESC.
First image I can see in the main grid view has filename
20210116_RWL_22_SCW_RWE0001.jpg (OK)
By already the second image in the grid view is:
20210116_RWL_22_SCW_RWE0010.jpg (NOK)
It goes on with:
20210116_RWL_22_SCW_RWE001[1-9].jpg
Before then this image is listed:
20210116_RWL_22_SCW_RWE0002.jpg
etc.
That’s why I think there is a small bug in the filename ordering. Maybe the zeros are stripped from the filename, just a guess?
Plugin Support
Bruce
(@ninjateamwp)
Hi @misterfu ,
I think the sorting logic is correct, but maybe you just don’t understand it?
Could you please copy up to 5 file names and arrange them according to how they have been sorted using the “sort files by name ASC” ?
Let me see how it looks like again!
Thank you.
Kind regards,
-Bruce-
@ninjateamwp
I am using “Sort Files – By Name – Name Ascending” and this is the order order the first 15 images:
20210116_RWL_22_SCW_RWE0001.jpg
20210116_RWL_22_SCW_RWE0010.jpg
20210116_RWL_22_SCW_RWE0011.jpg
20210116_RWL_22_SCW_RWE0012.jpg
20210116_RWL_22_SCW_RWE0013.jpg
20210116_RWL_22_SCW_RWE0014.jpg
20210116_RWL_22_SCW_RWE0015.jpg
20210116_RWL_22_SCW_RWE0016.jpg
20210116_RWL_22_SCW_RWE0017.jpg
20210116_RWL_22_SCW_RWE0018.jpg
20210116_RWL_22_SCW_RWE0019.jpg
20210116_RWL_22_SCW_RWE0002.jpg
20210116_RWL_22_SCW_RWE0020.jpg
20210116_RWL_22_SCW_RWE0021.jpg
20210116_RWL_22_SCW_RWE0022.jpg
etc.
Can you see the issue now?
0002 is listed between 0019 and 0020. This is not correct, it should of course be listed directly after 0001 (which e.g. the ‘ls’ command in the shell does).
Thanks in advance.
Plugin Support
Bruce
(@ninjateamwp)
Hi @misterfu ,
Thanks for the feedback that gives more insight.
In this case, please contact our team here to have a Team check for this:
ninjateam.wp@gmail.com
Kind regards,
-Bruce-
@ninjateamwp Thank you – just reached out to them!