Support » Plugin: Best WordPress Gallery Plugin – FooGallery » Sorting alphabetically

  • Resolved Dumel


    Is it just me or does 1 come before 2, and 2 before 3? Or does alphabetical order not include numbers – because strictly speaking numbers are not in the alphabet. How do I sort according to file numbers, because choosing the alphabetical sort order only changes the expression in my face – not the actual sort order?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support elviiso


    Hi @dumel

    To sort the gallery based on the file numbers in ascending order, you can select “Title – alphabetically” on the Gallery Sorting options as shown in the image linked below:

    To sort the gallery based on the file numbers in descending order, then you can select “Title – reverse” instead.

    Hope this helps.

    Kind regards,

    Thread Starter Dumel


    Hi @elviiso
    You would think that it would work that way, and I first thought that the problem was that FooGallery thought that the correct order would be 1, 11, 2, just to give an example, as I thought perhaps it only looked at the first character. But that wasn’t the case. I then renamed my whole gallery to have 3 digit numbers as a prefix so I had 001_IMG123.jpg, 002_IMG126.jpg, etc. Even that didn’t want to sort alphabetically. I then dragged my images around in Lightroom to achieve the right sort order and then exported them with a sequenced number as prefix. This meant that the files were exported in that order, which created a sequential modified date, and now I am able to sort by Date Created (, showing the oldest one first as that would have been the first file that was exported. How is that for jumping through hoops because the sorting doesn’t work?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sorting alphabetically’ is closed to new replies.